mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 14:54:19 +01:00
runtime: remove agent abstraction
This PR will delete agent abstraction and use Kata agent as the only one agent. Fixes: #377 Signed-off-by: bin liu <bin@hyper.sh>
This commit is contained in:
@@ -27,12 +27,11 @@ func TestTemplateFactory(t *testing.T) {
|
||||
}
|
||||
vmConfig := vc.VMConfig{
|
||||
HypervisorType: vc.MockHypervisor,
|
||||
AgentType: vc.NoopAgentType,
|
||||
ProxyType: vc.NoopProxyType,
|
||||
HypervisorConfig: hyperConfig,
|
||||
}
|
||||
|
||||
ctx := context.Background()
|
||||
ctx := vc.WithNewAgentFunc(context.Background(), vc.NewMockAgent)
|
||||
|
||||
// New
|
||||
f := New(ctx, vmConfig)
|
||||
|
||||
Reference in New Issue
Block a user