runtime_config_linux.go: add missing pointer

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca
2015-12-19 12:39:16 +01:00
parent e298027a52
commit 592f7547bf
+1 -1
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