diff --git a/internal/pkg/remote/credential/login_handler.go b/internal/pkg/remote/credential/login_handler.go index 671e481a26..ae1c7db5fb 100644 --- a/internal/pkg/remote/credential/login_handler.go +++ b/internal/pkg/remote/credential/login_handler.go @@ -90,7 +90,7 @@ func (h *ociHandler) login(u *url.URL, username, password string, insecure bool, func (h *ociHandler) logout(u *url.URL, reqAuthFile string) error { if u == nil { - return fmt.Errorf("URL not provided for logout.") + return fmt.Errorf("URL not provided for logout") } registry := u.Host + u.Path