Embed Resources for backward compatibility

Fixes: docker/docker#19329

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
Qiang Huang 2016-01-19 19:08:14 +08:00 committed by Michael Crosby
parent d97d5e8b00
commit bef07f4078
1 changed files with 1 additions and 1 deletions

View File

@ -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 {