Skip to content

Commit

Permalink
exit with 0 to avoid pod always ending in error
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierdelobre committed May 15, 2024
1 parent b16800a commit bc7cdc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batch/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func SendStatus(config batch.BatchConfig, status string) error {
tx.Commit()

// stop the process
os.Exit(1)
os.Exit(0)

return nil
}

0 comments on commit bc7cdc8

Please sign in to comment.