Skip to content

Commit

Permalink
fix for "remove goto"
Browse files Browse the repository at this point in the history
Signed-off-by: loheagn <[email protected]>
  • Loading branch information
loheagn committed Aug 9, 2022
1 parent d1976ed commit 5d81c7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/tool/backup_restore/cmd/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ func presetTFBackendNS() {
backendNS := os.Getenv(app.TFBackendNS)
if backendNS != "" {
log.Printf("use the `TERRAFORM_BACKEND_NAMESPACE` environment variable: %s", backendNS)
return
}

// if user doesn't set the "TERRAFORM_BACKEND_NAMESPACE" environment variable,
Expand Down

0 comments on commit 5d81c7b

Please sign in to comment.