mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Handle refresh errors.
This commit is contained in:
parent
096847c9f7
commit
c200c170ad
@ -86,8 +86,8 @@ func (b *Local) opRefresh(
|
||||
doneCh := make(chan struct{})
|
||||
go func() {
|
||||
defer close(doneCh)
|
||||
newState, err = tfCtx.Refresh()
|
||||
log.Printf("[INFO] backend/local: plan calling Plan")
|
||||
newState, refreshErr = tfCtx.Refresh()
|
||||
log.Printf("[INFO] backend/local: refresh calling Refresh")
|
||||
}()
|
||||
|
||||
select {
|
||||
|
Loading…
Reference in New Issue
Block a user