From 1f79f6da2b532fc92d5399d5e4b5aaca070601ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Cie=C5=9Blak?= Date: Tue, 28 Jun 2022 12:13:53 +0200 Subject: [PATCH] lib/services/role CurrentUserRoleGetter: Fix comment --- lib/services/role.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/role.go b/lib/services/role.go index b05d777f26edd..e3125970e25fe 100644 --- a/lib/services/role.go +++ b/lib/services/role.go @@ -743,7 +743,7 @@ func FetchRoles(roleNames []string, access RoleGetter, traits map[string][]strin return NewRoleSet(roles...), nil } -// CurrentUserRoleGetter limits the interface of auth.ClientI to methods needed by FetchClusterRoles. +// CurrentUserRoleGetter limits the interface of auth.ClientI to methods needed by FetchAllClusterRoles. type CurrentUserRoleGetter interface { GetCurrentUser(context.Context) (types.User, error) RoleGetter