mirror of https://github.com/kubernetes/kops.git
Log more details when we retry on an AWS error
Unclear if this will actually be sufficient, but it can't hurt Fix #1437
This commit is contained in:
parent
2d608070ba
commit
e71b3dbd81
|
@ -47,7 +47,7 @@ func (l LoggingRetryer) RetryRules(r *request.Request) time.Duration {
|
||||||
}
|
}
|
||||||
methodDescription := service + "/" + name
|
methodDescription := service + "/" + name
|
||||||
|
|
||||||
glog.Infof("Retryable error %d from %s - will retry after delay of %v", r.HTTPResponse.StatusCode, methodDescription, duration)
|
glog.Infof("Retryable error %d (%s) from %s - will retry after delay of %v", r.HTTPResponse.StatusCode, r.HTTPResponse.Status, methodDescription, duration)
|
||||||
|
|
||||||
return duration
|
return duration
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue