From 7a989a8333f4ec9ca745598f5ff269540f7d4e60 Mon Sep 17 00:00:00 2001 From: Eric Ernst Date: Tue, 14 Dec 2021 18:54:45 -0800 Subject: [PATCH] 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 --- src/runtime/virtcontainers/api_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/virtcontainers/api_test.go b/src/runtime/virtcontainers/api_test.go index 255314e79..3366041c6 100644 --- a/src/runtime/virtcontainers/api_test.go +++ b/src/runtime/virtcontainers/api_test.go @@ -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()