Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

Commit

Permalink
fix(main): Use 'app.Fatalf' for fatal kubectl errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tazjin authored and Vincent Ambo committed May 8, 2018
1 parent b8c3264 commit ea297ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,5 @@ func runKubectlWithResources(c *context.Context, kubectlArgs *[]string, resource
}

func failWithKubectlError(err error) {
fmt.Fprintf(os.Stderr, "Kubectl error: %v\n", err)
os.Exit(1)
app.Fatalf("Kubectl error: %v\n", err)
}

0 comments on commit ea297ab

Please sign in to comment.