mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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
Block a user