Requester: Remove duplicated function (#97038)
* Remove duplicated function * Remove GetDisplayName from interface * Use GetName
This commit is contained in:
+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