fix: corrected comment for hook channels to refflect true functionality

This commit is contained in:
ChrisERo 2022-01-10 18:48:23 -05:00 committed by chrrodri
parent d2a4320e6c
commit f67669662b
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ var (
}, []string{"status"})
)
// Channels for ensuring hooks execute at least once before terminating.
// Channels for ensuring hooks execute at least once before terminating when --one-time flag is set.
// Should be nil if and only if corresponding hook is not defined and if initialised, will only every get written
// to once.
var exechookChannel, webhookChannel chan bool