Browse code

fix infinite recursion

Signed-off-by: Felipe Oliveira <felipeweb.programador@gmail.com>

Felipe Oliveira authored on 2016/11/18 21:57:50
Showing 1 changed files
... ...
@@ -249,7 +249,7 @@ type PingResponseError struct {
249 249
 }
250 250
 
251 251
 func (err PingResponseError) Error() string {
252
-	return err.Error()
252
+	return err.Err.Error()
253 253
 }
254 254
 
255 255
 // PingV2Registry attempts to ping a v2 registry and on success return a