From ad400bb093abf5823af32dd8f973be713c372987 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Fri, 9 Sep 2016 15:40:33 -0700 Subject: [PATCH] Change netclassid json tag This allows older state files to be loaded without the unmarshal error of the string to int conversion. Signed-off-by: Michael Crosby --- libcontainer/configs/cgroup_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainer/configs/cgroup_unix.go b/libcontainer/configs/cgroup_unix.go index bd6f69b8..94b38879 100644 --- a/libcontainer/configs/cgroup_unix.go +++ b/libcontainer/configs/cgroup_unix.go @@ -120,5 +120,5 @@ type Resources struct { NetPrioIfpriomap []*IfPrioMap `json:"net_prio_ifpriomap"` // Set class identifier for container's network packets - NetClsClassid uint32 `json:"net_cls_classid"` + NetClsClassid uint32 `json:"net_cls_classid_u"` }