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