Skip to content

Commit 5fafa67

Browse files
authored
server url fix (#4378)
1 parent 1146f2c commit 5fafa67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cmd/docker/auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func (a *AuthGetter) GetGARCredentials(ctx context.Context, serverURL string, pr
114114
return "", "", err
115115
}
116116

117-
serverURL = parsedURL.Host + "/" + strings.Split(parsedURL.Path, "/")[0]
117+
serverURL = parsedURL.String()
118118

119119
var token string
120120

0 commit comments

Comments
 (0)