Skip to content

Commit

Permalink
Remove the error message for zero on sigterm (#1885)
Browse files Browse the repository at this point in the history
  • Loading branch information
annafang-google committed Aug 11, 2023
1 parent 5ce5b8e commit 4daea47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,8 @@ func runSignalWrapper(cmd *Command) (err error) {
cmd.logger.Infof("SIGINT signal received. Shutting down...")
case errors.Is(err, errSigTerm):
cmd.logger.Infof("SIGTERM signal received. Shutting down...")
case errors.Is(err, errSigTermZero):
cmd.logger.Infof("SIGTERM signal received. Shutting down...")
case errors.Is(err, errQuitQuitQuit):
cmd.logger.Infof("/quitquitquit received request. Shutting down...")
default:
Expand Down

0 comments on commit 4daea47

Please sign in to comment.