Skip to content

Conversation

@shantanualsi
Copy link
Collaborator

Fixes shutdown when Ctrl+C is pressed

})

if err := g.Wait(); err != nil {
if err.Error() == "shutdown signal received" {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get http: Server closed which leads to printing out the command line help here

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when you press Ctrl+C?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants