Skip to content

Commit

Permalink
remove excess chan that will block the program (openyurtio#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
zc2638 authored Sep 2, 2021
1 parent 4700b44 commit 27fbb33
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/yurthub/app/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ func Run(cfg *config.YurtHubConfiguration, stopCh <-chan struct{}) error {
}
s.Run()
klog.Infof("hub agent exited")
<-stopCh
return nil
}

Expand Down

0 comments on commit 27fbb33

Please sign in to comment.