From 99364bd045476be443857fe654770162b75b6b55 Mon Sep 17 00:00:00 2001 From: Lubron Zhan Date: Wed, 5 Feb 2025 12:01:07 -0800 Subject: [PATCH] Test --- controllers/akodeploymentconfig/user/user_controller.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/controllers/akodeploymentconfig/user/user_controller.go b/controllers/akodeploymentconfig/user/user_controller.go index 1206215..690b209 100644 --- a/controllers/akodeploymentconfig/user/user_controller.go +++ b/controllers/akodeploymentconfig/user/user_controller.go @@ -5,6 +5,7 @@ package user import ( "context" + "fmt" "github.com/go-logr/logr" "github.com/pkg/errors" @@ -302,6 +303,9 @@ func (r *AkoUserReconciler) createOrUpdateAviUser(aviUsername, aviPassword, tena // Update the password when user found, this is needed when the AVI user was // created before the mc Secret. And this operation will sync // the User's password to be the same as mc Secret's + fmt.Println("Updating the AVI User's password") + fmt.Println("avi user is nil????") + fmt.Println(aviUser) aviUser.Password = &aviPassword return r.aviClient.UserUpdate(aviUser) }