diff --git a/src/pkg/reg/adapter/dockerhub/adapter.go b/src/pkg/reg/adapter/dockerhub/adapter.go index 00d636510281..d635d2ead16c 100644 --- a/src/pkg/reg/adapter/dockerhub/adapter.go +++ b/src/pkg/reg/adapter/dockerhub/adapter.go @@ -152,8 +152,8 @@ func (a *adapter) limitAwareDo(method string, path string, body io.Reader) (*htt time.Sleep(dur) log.Info("Sleep finished, resuming operation") } - return clientResp, clientErr } + return clientResp, clientErr } var dur = time.Duration(0) seconds, err := strconv.ParseInt(clientResp.Header.Get("retry-after"), 10, 64)