sort service role actions on init
This commit is contained in:
@@ -180,8 +180,6 @@ func (s *service) mapResourceWants(memberships []ResourceMemberships) (map[strin
|
||||
roleActionsKey := make(map[string]string)
|
||||
|
||||
for role, actions := range s.roles {
|
||||
slices.Sort(actions)
|
||||
|
||||
roleActionsKey[role] = strings.Join(actions, "|")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user