Skip to content

Commit f4ca78e

Browse files
authored
Merge pull request #2830 from dzacball/patch-1
🐛 fix description for SetupSignalHandler() in alias.go
2 parents 5dcea7e + 358286f commit f4ca78e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

alias.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ var (
122122
// there is another OwnerReference with Controller flag set.
123123
SetControllerReference = controllerutil.SetControllerReference
124124

125-
// SetupSignalHandler registered for SIGTERM and SIGINT. A stop channel is returned
126-
// which is closed on one of these signals. If a second signal is caught, the program
125+
// SetupSignalHandler registers for SIGTERM and SIGINT. A context is returned
126+
// which is canceled on one of these signals. If a second signal is caught, the program
127127
// is terminated with exit code 1.
128128
SetupSignalHandler = signals.SetupSignalHandler
129129

0 commit comments

Comments
 (0)