Skip to content

Commit

Permalink
fix(cmd): correct typo in func comment
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
  • Loading branch information
leogr authored and poiana committed Apr 21, 2020
1 parent 7e55245 commit 8adda0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func Execute() {
}
}

// WithSignals returns a copy of ctx a new context.
// WithSignals returns a copy of ctx with a new Done channel.
// The returned context's Done channel is closed when a SIGKILL or SIGTERM signal is received.
func WithSignals(ctx context.Context) context.Context {
sigCh := make(chan os.Signal, 1)
Expand Down

0 comments on commit 8adda0d

Please sign in to comment.