File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2020 EnterprisesField = field .StringSliceField (
2121 "enterprises" ,
2222 field .WithDisplayName ("Enterprises" ),
23- field .WithDescription ("Sync enterprise roles, must be an edmin of the enterprise." ),
23+ field .WithDescription ("Sync enterprise roles, must be an admin of the enterprise." ),
2424 )
2525 instanceUrlField = field .StringField (
2626 "instance-url" ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ func (o *enterpriseRoleResourceType) ResourceType(_ context.Context) *v2.Resourc
3232func (o * enterpriseRoleResourceType ) cacheRole (roleId string , userLogin string ) {
3333 o .mu .Lock ()
3434 defer o .mu .Unlock ()
35- if _ , exists := o .roleUsersCache [userLogin ]; ! exists {
35+ if _ , exists := o .roleUsersCache [roleId ]; ! exists {
3636 o .roleUsersCache [roleId ] = []string {}
3737 }
3838
You can’t perform that action at this time.
0 commit comments