mirror of
https://github.com/mayflower/docker-ls.git
synced 2025-11-28 00:01:09 +03:00
Clearer distinction between auth and registry servers in authorization error messages.
This commit is contained in:
@@ -11,7 +11,7 @@ type InvalidStatusCodeError string
|
||||
type NotFoundError string
|
||||
type InvalidRequestError string
|
||||
|
||||
var genericAuthorizationError AutorizationError = "autorization failed"
|
||||
var genericAuthorizationError AutorizationError = "autorization rejected by registry"
|
||||
var genericMalformedResponseError MalformedResponseError = "malformed response"
|
||||
|
||||
func (e AutorizationError) Error() string {
|
||||
|
||||
Reference in New Issue
Block a user