Skip to content

Commit 713c622

Browse files
drivebyercndoit18
authored andcommitted
style(log): level down the user creating log
1 parent eadf620 commit 713c622

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/controller/mysqluser/mysqluser_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ func (r *ReconcileMySQLUser) reconcileUserInDB(ctx context.Context, user *mysqlu
181181
return errors.New("the MySQL user's password must not be empty")
182182
}
183183

184-
// create/ update user in database
185-
log.Info("creating mysql user", "key", user.GetKey(), "username", user.Spec.User, "cluster", user.GetClusterKey())
184+
// reconcile user in database
185+
log.V(1).Info("reconciling mysql user", "key", user.GetKey(), "username", user.Spec.User, "cluster", user.GetClusterKey())
186186
if err := mysql.CreateUserIfNotExists(ctx, sql, user.Spec.User, password, user.Spec.AllowedHosts,
187187
user.Spec.Permissions, user.Spec.ResourceLimits); err != nil {
188188
return err

0 commit comments

Comments
 (0)