File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -252,8 +252,8 @@ type LinuxInterfacePriority struct {
252252 Priority uint32 `json:"priority"`
253253}
254254
255- // linuxBlockIODevice holds major:minor format supported in blkio cgroup
256- type linuxBlockIODevice struct {
255+ // LinuxBlockIODevice holds major:minor format supported in blkio cgroup
256+ type LinuxBlockIODevice struct {
257257 // Major is the device's major number.
258258 Major int64 `json:"major"`
259259 // Minor is the device's minor number.
@@ -262,7 +262,7 @@ type linuxBlockIODevice struct {
262262
263263// LinuxWeightDevice struct holds a `major:minor weight` pair for weightDevice
264264type LinuxWeightDevice struct {
265- linuxBlockIODevice
265+ LinuxBlockIODevice
266266 // Weight is the bandwidth rate for the device.
267267 Weight * uint16 `json:"weight,omitempty"`
268268 // LeafWeight is the bandwidth rate for the device while competing with the cgroup's child cgroups, CFQ scheduler only
@@ -271,7 +271,7 @@ type LinuxWeightDevice struct {
271271
272272// LinuxThrottleDevice struct holds a `major:minor rate_per_second` pair
273273type LinuxThrottleDevice struct {
274- linuxBlockIODevice
274+ LinuxBlockIODevice
275275 // Rate is the IO rate limit per cgroup per device
276276 Rate uint64 `json:"rate"`
277277}
You can’t perform that action at this time.
0 commit comments