diff --git a/runtime_config_linux.go b/runtime_config_linux.go index bf9ff20dc..222c3b48b 100644 --- a/runtime_config_linux.go +++ b/runtime_config_linux.go @@ -195,7 +195,7 @@ type Network struct { // Set class identifier for container's network packets ClassID *uint32 `json:"classID"` // Set priority of network traffic for container - Priorities []InterfacePriority `json:"priorities"` + Priorities []*InterfacePriority `json:"priorities,omitempty"` } // Resources has container runtime resource constraints @@ -213,7 +213,7 @@ type Resources struct { // BlockIO restriction configuration BlockIO *BlockIO `json:"blockIO,omitempty"` // Hugetlb limit (in bytes) - HugepageLimits []HugepageLimit `json:"hugepageLimits,omitempty"` + HugepageLimits []*HugepageLimit `json:"hugepageLimits,omitempty"` // Network restriction configuration Network *Network `json:"network,omitempty"` }