Requester: Remove duplicated function (#97038)
* Remove duplicated function * Remove GetDisplayName from interface * Use GetName
This commit is contained in:
1 parent
6d04023aa6
commit
76f052e8de
12 files changed
+26
-69
No files matched your search
+1
-1
@@ -35,7 +35,7 @@ func (f *fakePluginContextProvider) Get(_ context.Context, pluginID string, user
|
||||
if user != nil {
|
||||
u = &backend.User{
|
||||
Login: user.GetLogin(),
|
||||
Name: user.GetDisplayName(),
|
||||
Name: user.GetName(),
|
||||
Email: user.GetEmail(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user