Skip to content

Commit

Permalink
improve input
Browse files Browse the repository at this point in the history
  • Loading branch information
gkech committed Jan 30, 2025
1 parent 0773ecf commit 7b397cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/perconaservermongodb/custom_users.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func handleUsers(ctx context.Context, cr *api.PerconaServerMongoDB, mongoCli mon
return nil
}

func validateUser(ctx context.Context, user *api.User, sysUserNames map[string]struct{}, uniqueUserNames map[string]struct{}) error {
func validateUser(ctx context.Context, user *api.User, sysUserNames, uniqueUserNames map[string]struct{}) error {
log := logf.FromContext(ctx)

if sysUserNames == nil || uniqueUserNames == nil {
Expand Down

0 comments on commit 7b397cb

Please sign in to comment.