From 98b9f03c524951f70c5acf728afc60d74a18b751 Mon Sep 17 00:00:00 2001 From: Haim Kortovich Date: Mon, 20 May 2024 17:24:51 -0500 Subject: [PATCH] handle notchanged in machineuser [ZITADOPER-1] --- src/internal/controller/machineuser_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/controller/machineuser_controller.go b/src/internal/controller/machineuser_controller.go index 5310d3b..6446ddb 100644 --- a/src/internal/controller/machineuser_controller.go +++ b/src/internal/controller/machineuser_controller.go @@ -162,7 +162,7 @@ func (wr *wrappedMachineUserReconciler) reconcileMachineUser(ctx context.Context AccessTokenType: user.AccessTokenType(user.AccessTokenType_value[wr.MachineUser.Spec.AccessTokenType]), }) if err != nil { - if !strings.Contains(err.Error(), "No changes") { + if !strings.Contains(err.Error(), "User.NotChanged ") { return fmt.Errorf("Error updating MchineUser: %v", err) } }