sort service role actions on init

This commit is contained in:
Mike Mason
2023-07-21 18:47:40 +00:00
parent b421163ae2
commit a6aa3674cd
2 changed files with 8 additions and 3 deletions

View File

@@ -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, "|")
}