mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 13:12:20 +00:00
Move swagger+openapi setup to routes and decouple from run
This commit is contained in:
@@ -105,6 +105,6 @@ func Run(serverOptions *genericoptions.ServerRunOptions) error {
|
||||
if err := s.InstallAPIGroup(&apiGroupInfo); err != nil {
|
||||
return fmt.Errorf("Error in installing API: %v", err)
|
||||
}
|
||||
s.Run()
|
||||
s.PrepareRun().Run()
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user