Skip to content

Commit

Permalink
return nil instead of op, which is an interface containing nil
Browse files Browse the repository at this point in the history
  • Loading branch information
megan07 committed Dec 10, 2019
1 parent 94079a3 commit 8cc3d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/terraform/utils/common_operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func CommonRefreshFunc(w Waiter) resource.StateRefreshFunc {
for _, e := range getAllTypes(err, &googleapi.Error{}, &url.Error{}) {
if isRetryableError(e, predicates) {
log.Printf("[DEBUG] Dismissed error on GET of operation '%v' retryable: %s", w.OpName(), err)
return op, "done: false", nil
return nil, "done: false", nil
}
}

Expand Down

0 comments on commit 8cc3d7d

Please sign in to comment.