From 50cc7ce94054766f132740e3026a1c9b61738fb3 Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Thu, 13 Oct 2016 15:45:41 -0700 Subject: [PATCH] Use Set instead of map[string]string for container labels Signed-off-by: Mrunal Patel --- oci/oci.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oci/oci.go b/oci/oci.go index ec5131ac..fea02b85 100644 --- a/oci/oci.go +++ b/oci/oci.go @@ -18,6 +18,7 @@ import ( "github.com/kubernetes-incubator/cri-o/utils" "github.com/opencontainers/runtime-spec/specs-go" "golang.org/x/sys/unix" + "k8s.io/kubernetes/pkg/fields" ) const ( @@ -221,7 +222,7 @@ type Container struct { name string bundlePath string logPath string - labels map[string]string + labels fields.Set sandbox string terminal bool state *ContainerState