Skip to content

Commit 6599ee9

Browse files
TerryHoweCopilot
andauthored
Update registry/remote/internal/configuration/authconfig.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Terry Howe <terrylhowe@gmail.com>
1 parent 25891a6 commit 6599ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

registry/remote/internal/configuration/authconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func (ac AuthConfig) DecodeAuth() (username string, password string, err error)
5959
decodedStr := string(decoded)
6060
username, password, ok := strings.Cut(decodedStr, ":")
6161
if !ok {
62-
return "", "", fmt.Errorf("auth '%s' does not conform the base64(username:password) format", decodedStr)
62+
return "", "", fmt.Errorf("auth '%s' does not conform to the base64(username:password) format", decodedStr)
6363
}
6464
return username, password, nil
6565
}

0 commit comments

Comments
 (0)