Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: Allow coderd to exit on error channel
coderd would fail silently if this was called, because connections
would never drain. HashiCorp's hc-install package broke today,
and we couldn't notice because this was hanging!
  • Loading branch information
kylecarbs committed May 10, 2022
commit 320110cd613275c9ef685c3ef808c7036b47778e
1 change: 1 addition & 0 deletions cli/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ func server() *cobra.Command {
return err
}
case err := <-errCh:
shutdownConns()
closeCoderd()
return err
case <-stopChan:
Expand Down