moduletest: fix error return (#37589)

pull/37590/head
Kristin Laemmert 5 months ago committed by GitHub
parent 551ba2e525
commit 31a982ec0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -633,7 +633,7 @@ func (ec *EvalContext) LoadState(run *configs.TestRun) (*states.State, error) {
stmgr, err := current.Backend.StateMgr(backend.DefaultStateName)
if err != nil {
return nil, err
return nil, err.Err()
}
if err := stmgr.RefreshState(); err != nil {

Loading…
Cancel
Save