From 0a9521d3212af34b4eecd99b5fd7c1203df0b405 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Date: Fri, 18 Nov 2016 10:57:50 -0200 Subject: [PATCH] fix infinite recursion Signed-off-by: Felipe Oliveira (cherry picked from commit 271b1f27563b18a125b89d2d2629246213dbfd96) Signed-off-by: Victor Vieux --- registry/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/auth.go b/registry/auth.go index 5da3563f9b..8cadd51ba0 100644 --- a/registry/auth.go +++ b/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