Ver código fonte

Merge pull request #28586 from felipeweb/fix_infinite_recursion

fix infinite recursion
Alexander Morozov 8 anos atrás
pai
commit
8874f80e67
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      registry/auth.go

+ 1 - 1
registry/auth.go

@@ -249,7 +249,7 @@ type PingResponseError struct {
 }
 
 func (err PingResponseError) Error() string {
-	return err.Error()
+	return err.Err.Error()
 }
 
 // PingV2Registry attempts to ping a v2 registry and on success return a