mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Make GenericApiServer.Run interruptable and fail on first listen
This commit is contained in:
@@ -335,6 +335,6 @@ func Run(s *options.ServerRunOptions) error {
|
||||
}
|
||||
|
||||
sharedInformers.Start(wait.NeverStop)
|
||||
m.GenericAPIServer.PrepareRun().Run()
|
||||
m.GenericAPIServer.PrepareRun().Run(wait.NeverStop)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user