Skip to content

Commit

Permalink
fix: remove the error message for zero on sigterm (#1902)
Browse files Browse the repository at this point in the history
  • Loading branch information
annafang-google committed Aug 11, 2023
1 parent 5ce5b8e commit 55f0f60
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 55f0f60

Please sign in to comment.