diff --git a/helper/resource/state.go b/helper/resource/state.go index b762d64faa..aafa7f3bc6 100644 --- a/helper/resource/state.go +++ b/helper/resource/state.go @@ -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