fix infinite recursion

Signed-off-by: Felipe Oliveira <felipeweb.programador@gmail.com>
(cherry picked from commit 271b1f2756)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
Felipe Oliveira 2016-11-18 10:57:50 -02:00 committed by Victor Vieux
parent 0269ac0494
commit 0a9521d321

View file

@ -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