Skip to content

Commit

Permalink
sort the uaa users by userName (trying to mitigate a potential UAA bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
metskem committed Jan 26, 2024
1 parent d7e050e commit b996d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uaa/uaa.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (m *DefaultUAAManager) CreateExternalUser(userName, userEmail, externalID,
func (m *DefaultUAAManager) ListUsers() (*Users, error) {
users := &Users{}
lo.G.Debug("Getting users from Cloud Foundry")
userList, err := m.Client.ListAllUsers("", "", "userName,id,externalId,emails,origin", "")
userList, err := m.Client.ListAllUsers("", "userName", "userName,id,externalId,emails,origin", "")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit b996d0b

Please sign in to comment.