Skip to content

Commit

Permalink
Exit with a different error code in the event of a clone failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
dougfales authored and AMecea committed Jan 9, 2020
1 parent 317cb48 commit 453ee1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/mysql-operator-sidecar/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func main() {
Run: func(cmd *cobra.Command, args []string) {
if err := sidecar.RunCloneCommand(cfg); err != nil {
log.Error(err, "clone command failed")
os.Exit(1)
os.Exit(8)
}
if err := sidecar.RunConfigCommand(cfg); err != nil {
log.Error(err, "init command failed")
Expand Down

0 comments on commit 453ee1c

Please sign in to comment.