Skip to content

Commit

Permalink
Fixed text
Browse files Browse the repository at this point in the history
  • Loading branch information
manirajv06 committed Jun 12, 2024
1 parent cd0149c commit 3c53404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/common/security/usergroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (c *UserGroupCache) ConvertUGI(ugi *si.UserGroupInformation, force bool) (U
}

if !configs.UserRegExp.MatchString(ugi.User) {
return UserGroup{}, fmt.Errorf("invalid username. username contain invalid characters. ")
return UserGroup{}, fmt.Errorf("invalid username, it contains invalid characters")
}

// If groups are already present we should just convert
Expand Down

0 comments on commit 3c53404

Please sign in to comment.