From b996d0bb8668806b64358bb0c50c27fcadbed377 Mon Sep 17 00:00:00 2001 From: Harry Metske Date: Fri, 26 Jan 2024 13:55:40 +0100 Subject: [PATCH] sort the uaa users by userName (trying to mitigate a potential UAA bug) --- uaa/uaa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uaa/uaa.go b/uaa/uaa.go index ee900eb7..4ec5855f 100644 --- a/uaa/uaa.go +++ b/uaa/uaa.go @@ -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 }