Skip to content

Commit

Permalink
Fixed bug that was causing multus admission controller pods to not di…
Browse files Browse the repository at this point in the history
…e when is ran
  • Loading branch information
nicklesimba authored and dougbtv committed Dec 13, 2021
1 parent 3c28a57 commit 7820b04
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ func StartWatching() {
go c.Run(stopCh)

sigterm := make(chan os.Signal, 1)
signal.Notify(sigterm, syscall.SIGTERM)
signal.Notify(sigterm, syscall.SIGINT)
signal.Notify(sigterm, syscall.SIGINT, syscall.SIGTERM, syscall.SIGKILL)
<-sigterm
}

Expand Down

0 comments on commit 7820b04

Please sign in to comment.