Merge pull request #277 from runcom/missing-pointer

runtime_config_linux.go: add missing pointer
This commit is contained in:
Qiang Huang 2015-12-21 21:04:28 +08:00
commit 9ffb3ef4ee
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ type WeightDevice struct {
type ThrottleDevice struct {
blockIODevice
// Rate is the IO rate limit per cgroup per device
Rate uint64 `json:"rate"`
Rate *uint64 `json:"rate,omitempty"`
}
// BlockIO for Linux cgroup 'blkio' resource management