mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-01 03:46:34 +00:00
runtime: api-test: fixup
not clear why this was commented out before -- ensure that we set approprate annotation on the sandbox container's annotations to indicate this is a sandbox. Signed-off-by: Eric Ernst <eric_ernst@apple.com>
This commit is contained in:
parent
52f79aef91
commit
7a989a8333
@ -77,7 +77,7 @@ func newBasicTestCmd() types.Cmd {
|
||||
func newTestSandboxConfigNoop() SandboxConfig {
|
||||
bundlePath := filepath.Join(testDir, testBundle)
|
||||
containerAnnotations[annotations.BundlePathKey] = bundlePath
|
||||
// containerAnnotations["com.github.containers.virtcontainers.pkg.oci.container_type"] = "pod_sandbox"
|
||||
containerAnnotations[annotations.ContainerTypeKey] = "pod_sandbox"
|
||||
|
||||
emptySpec := newEmptySpec()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user