K8s: Move standalone apiserver CLI to enterprise (#93799)
This commit is contained in:
+1
-1
@@ -465,5 +465,5 @@ func InitializeModuleServer(cfg *setting.Cfg, opts Options, apiOpts api.ServerOp
|
||||
// Initialize the standalone APIServer factory
|
||||
func InitializeAPIServerFactory() (standalone.APIServerFactory, error) {
|
||||
wire.Build(wireExtsStandaloneAPIServerSet)
|
||||
return &standalone.DummyAPIFactory{}, nil // Wire will replace this with a real interface
|
||||
return &standalone.NoOpAPIServerFactory{}, nil // Wire will replace this with a real interface
|
||||
}
|
||||
|
||||
@@ -141,5 +141,5 @@ var wireExtsModuleServerSet = wire.NewSet(
|
||||
)
|
||||
|
||||
var wireExtsStandaloneAPIServerSet = wire.NewSet(
|
||||
standalone.GetDummyAPIFactory,
|
||||
standalone.ProvideAPIServerFactory,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user