Skip to content

Commit

Permalink
Update comment to fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWright committed Jan 27, 2021
1 parent 9bf9fb5 commit 92fdd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grace.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var (
ErrImmediateShutdownSignalReceived = errors.New("immediate shutdown signal received")
)

// New returns a new instance of Grace.
// Init returns a new and initialised instance of Grace.
func Init(ctx context.Context) *Grace {
ctx, cancel := context.WithCancel(ctx)
g := &Grace{
Expand Down

0 comments on commit 92fdd39

Please sign in to comment.