Add more details (Retries) to resource.NotFoundError

pull/5634/head
Radek Simko 10 years ago committed by Radek Simko
parent 570af34f0f
commit be4e5e53a9
No known key found for this signature in database
GPG Key ID: 6823F3DCCE01BB19

@ -111,6 +111,7 @@ func (conf *StateChangeConf) WaitForState() (interface{}, error) {
if notfoundTick > conf.NotFoundChecks {
result.Error = &NotFoundError{
LastError: err,
Retries: notfoundTick,
}
lastResult.Store(result)
return

Loading…
Cancel
Save