瀏覽代碼

Merge pull request #28586 from felipeweb/fix_infinite_recursion

fix infinite recursion
Alexander Morozov 8 年之前
父節點
當前提交
8874f80e67
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      registry/auth.go

+ 1 - 1
registry/auth.go

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