Skip to content
This repository was archived by the owner on Feb 14, 2022. It is now read-only.

Commit

Permalink
Fix coverage hanging
Browse files Browse the repository at this point in the history
Signed-off-by: Silvin Lubecki <[email protected]>
  • Loading branch information
silvin-lubecki committed Nov 7, 2019
1 parent a072665 commit 379a153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/api-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func start(init func(*cobra.Command) error) error {
go func() {
sig := <-sigs
log.Infof("Received signal: %v", sig)
stop <- struct{}{}
close(stop)
}()
cmd := cli.NewCommandStartComposeServer(stop)
cmd.Flags().AddFlagSet(pflag.CommandLine)
Expand Down

0 comments on commit 379a153

Please sign in to comment.