mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Embed Resources for backward compatibility
Fixes: docker/docker#19329 Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user