Skip to content

Commit f2d534c

Browse files
authored
Merge pull request #411 from mgw2168/main
cmd: Change HttpServer stop channel to buffered channel. #411
2 parents bfb292e + c9a6e73 commit f2d534c

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)