From bef07f4078f9acbd7fea07d0ebebf0bd2f48c5d7 Mon Sep 17 00:00:00 2001 From: Qiang Huang Date: Tue, 19 Jan 2016 19:08:14 +0800 Subject: [PATCH] Embed Resources for backward compatibility Fixes: docker/docker#19329 Signed-off-by: Qiang Huang --- 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 ef781324..b9a06de2 100644 --- a/libcontainer/configs/cgroup_unix.go +++ b/libcontainer/configs/cgroup_unix.go @@ -20,7 +20,7 @@ type Cgroup struct { ScopePrefix string `json:"scope_prefix"` // Resources contains various cgroups settings to apply - Resources *Resources `json:"resources"` + *Resources } type Resources struct {