diff --git a/apiserver/apiserver.go b/apiserver/apiserver.go index 686f3202..2c6ce7ac 100644 --- a/apiserver/apiserver.go +++ b/apiserver/apiserver.go @@ -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 }