Add more details (Retries) to resource.NotFoundError
This commit is contained in:
parent
570af34f0f
commit
be4e5e53a9
|
@ -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…
Reference in New Issue