Skip to content

Commit

Permalink
removing old signal wait line.
Browse files Browse the repository at this point in the history
removing old signal wait line.  this line is block when we don't want it to the code right above is already doing that.
  • Loading branch information
njharter authored Oct 24, 2018
1 parent 16d1a81 commit dc0dbe6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/caduceus/caduceus.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,7 @@ func caduceus(arguments []string) int {
exit = true
}
}
s := server.SignalWait(infoLog, signals, os.Interrupt, os.Kill)
errorLog.Log(logging.MessageKey(), "exiting due to signal", "signal", s)

close(shutdown)
waitGroup.Wait()

Expand Down

0 comments on commit dc0dbe6

Please sign in to comment.