Skip to content

Commit

Permalink
remove excess chan that will block the program (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
zc2638 authored Sep 2, 2021
1 parent cb9c3e1 commit df2e4d5
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 df2e4d5

Please sign in to comment.