Skip to content

Commit

Permalink
Format error during operation wait return.
Browse files Browse the repository at this point in the history
- Q: Why does deleting gcp network return DONE and no error when the
network isn't deleted?
  • Loading branch information
Genevieve LEsperance committed Mar 3, 2018
1 parent 961a257 commit f11bd4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gcp/compute/state.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package compute

import (
"fmt"
"time"
)

Expand Down Expand Up @@ -77,7 +78,7 @@ func (s *state) Wait() error {
if res == nil {
notfoundTick++
if notfoundTick > notFoundChecks {
result.Error = err
result.Error = fmt.Errorf("%s", err)
resultCh <- result
return
}
Expand Down

0 comments on commit f11bd4f

Please sign in to comment.