Skip to content

Commit f48b714

Browse files
committed
issue 2117: fix typo
Signed-off-by: Linh Luong <[email protected]>
1 parent 2fdaa3c commit f48b714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/osutil/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func LimaUser(warn bool) (*user.User, error) {
114114
if cache.err == nil {
115115
if notAllowedUsernameRegex.MatchString(cache.u.Username) {
116116
warning := fmt.Sprintf("local user %q is not a allowed (must not match %q); using %q username instead",
117-
cache.u.Username, isNotAllowedRegex.String(), fallbackUser)
117+
cache.u.Username, notAllowedUsernameRegex.String(), fallbackUser)
118118
cache.warnings = append(cache.warnings, warning)
119119
cache.u.Username = fallbackUser
120120
} else if !regexUsername.MatchString(cache.u.Username) {

0 commit comments

Comments
 (0)