Skip to content

Commit c9a6e73

Browse files
committed
fix: Change HttpServer stop channel to buffered channel.
1 parent d18d5ca commit c9a6e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/sidecar/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var (
5151
func main() {
5252
// setup logging
5353
logf.SetLogger(zap.New(zap.UseDevMode(true)))
54-
stop := make(chan struct{})
54+
stop := make(chan struct{}, 1)
5555

5656
containerName := sidecar.GetContainerType()
5757

0 commit comments

Comments
 (0)