Merge pull request #32685 from aadieng100/fix-registry-login-redundant-key-normalization

fix(registry): remove redundant ServerAddressFromHostname in Login (#32681)
main
Evans Mungai 16 hours ago committed by GitHub
commit 53dfa521e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -266,7 +266,6 @@ func (c *Client) Login(host string, options ...LoginOption) error {
c.authorizer.ForceAttemptOAuth2 = false
key := credentials.ServerAddressFromRegistry(host)
key = credentials.ServerAddressFromHostname(key)
if err := c.credentialsStore.Put(ctx, key, cred); err != nil {
return err
}

Loading…
Cancel
Save