mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-22 06:59:03 +00:00
Make GenericApiServer.Run interruptable and fail on first listen
This commit is contained in:
@@ -225,7 +225,7 @@ func Run(s *options.ServerRunOptions) error {
|
||||
installExtensionsAPIs(m, restOptionsFactory)
|
||||
|
||||
sharedInformers.Start(wait.NeverStop)
|
||||
m.PrepareRun().Run()
|
||||
m.PrepareRun().Run(wait.NeverStop)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user