Skip to content

Commit f048eaf

Browse files
committed
Embed Resources for backward compatibility
Fixes: moby/moby#19329 Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
1 parent 8092350 commit f048eaf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libcontainer/configs/cgroup_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type Cgroup struct {
2020
ScopePrefix string `json:"scope_prefix"`
2121

2222
// Resources contains various cgroups settings to apply
23-
Resources *Resources `json:"resources"`
23+
*Resources
2424
}
2525

2626
type Resources struct {

0 commit comments

Comments
 (0)