Handle refresh errors.
This commit is contained in:
parent
096847c9f7
commit
c200c170ad
|
@ -86,8 +86,8 @@ func (b *Local) opRefresh(
|
||||||
doneCh := make(chan struct{})
|
doneCh := make(chan struct{})
|
||||||
go func() {
|
go func() {
|
||||||
defer close(doneCh)
|
defer close(doneCh)
|
||||||
newState, err = tfCtx.Refresh()
|
newState, refreshErr = tfCtx.Refresh()
|
||||||
log.Printf("[INFO] backend/local: plan calling Plan")
|
log.Printf("[INFO] backend/local: refresh calling Refresh")
|
||||||
}()
|
}()
|
||||||
|
|
||||||
select {
|
select {
|
||||||
|
|
Loading…
Reference in New Issue