Skip to content

Commit

Permalink
remove sigkill signal handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr Stefurishin committed Sep 10, 2024
1 parent 58146f8 commit ead916f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/sds-local-volume-scheduler-extender/src/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func init() {
}

func main() {
ctx, _ := signal.NotifyContext(context.Background(), syscall.SIGKILL, syscall.SIGINT, syscall.SIGTERM)
ctx, _ := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)

if err := rootCmd.ExecuteContext(ctx); err != nil {
// we expect err to be logged already
Expand Down

0 comments on commit ead916f

Please sign in to comment.