Remove sandox store and controller service type
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
@@ -192,6 +192,9 @@ func WithInMemoryServices(ic *plugin.InitContext) ClientOpt {
|
||||
plugin.SandboxStorePlugin: func(i interface{}) ServicesOpt {
|
||||
return WithSandboxStore(i.(sandbox.Store))
|
||||
},
|
||||
plugin.SandboxControllerPlugin: func(i interface{}) ServicesOpt {
|
||||
return WithSandboxController(i.(sandbox.Controller))
|
||||
},
|
||||
} {
|
||||
i, err := ic.Get(t)
|
||||
if err != nil {
|
||||
@@ -229,9 +232,6 @@ func WithInMemoryServices(ic *plugin.InitContext) ClientOpt {
|
||||
srv.IntrospectionService: func(s interface{}) ServicesOpt {
|
||||
return WithIntrospectionClient(s.(introspectionapi.IntrospectionClient))
|
||||
},
|
||||
srv.SandboxControllerService: func(s interface{}) ServicesOpt {
|
||||
return WithSandboxController(s.(sandbox.Controller))
|
||||
},
|
||||
} {
|
||||
p := plugins[s]
|
||||
if p == nil {
|
||||
|
||||
Reference in New Issue
Block a user