Use Set instead of map[string]string for container labels
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
parent
c6f509b832
commit
50cc7ce940
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue