Skip to content

Commit

Permalink
Merge pull request opencontainers#277 from runcom/missing-pointer
Browse files Browse the repository at this point in the history
runtime_config_linux.go: add missing pointer
  • Loading branch information
hqhq committed Dec 21, 2015
2 parents e298027 + 592f754 commit 9ffb3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime_config_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9ffb3ef

Please sign in to comment.