Skip to content

Commit 592f754

Browse files
committed
runtime_config_linux.go: add missing pointer
Signed-off-by: Antonio Murdaca <[email protected]>
1 parent e298027 commit 592f754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime_config_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ type WeightDevice struct {
127127
type ThrottleDevice struct {
128128
blockIODevice
129129
// Rate is the IO rate limit per cgroup per device
130-
Rate uint64 `json:"rate"`
130+
Rate *uint64 `json:"rate,omitempty"`
131131
}
132132

133133
// BlockIO for Linux cgroup 'blkio' resource management

0 commit comments

Comments
 (0)