mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 04:34:27 +00:00
runtime: fix vcmock build failure
github.com/kata-containers/kata-containers/src/runtime/virtcontainers/pkg/vcmock virtcontainers/pkg/vcmock/container.go:19:10: cannot use c.MockSandbox (type *Sandbox) as type virtcontainers.VCSandbox in return argument: *Sandbox does not implement virtcontainers.VCSandbox (missing GetHypervisorPid method) github.com/kata-containers/kata-containers/src/runtime/pkg/katautils Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
parent
dd6da22a11
commit
8ff62beeb4
@ -255,3 +255,7 @@ func (s *Sandbox) GetAgentURL() (string, error) {
|
|||||||
}
|
}
|
||||||
return "", nil
|
return "", nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *Sandbox) GetHypervisorPid() (int, error) {
|
||||||
|
return 0, nil
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user