Update error.go
This commit is contained in:
parent
ea90ee7415
commit
4d5d3c3276
@ -19,7 +19,6 @@ type Errs struct {
|
||||
Errors []Err `json:"errors"`
|
||||
}
|
||||
|
||||
// Error implements the error interface for RegistryError
|
||||
func (e Errs) Error() string {
|
||||
if len(e.Errors) == 0 {
|
||||
return "unknown registry error"
|
||||
|
Loading…
x
Reference in New Issue
Block a user