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 {
252
252
Priority uint32 `json:"priority"`
253
253
}
254
254
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 {
257
257
// Major is the device's major number.
258
258
Major int64 `json:"major"`
259
259
// Minor is the device's minor number.
@@ -262,7 +262,7 @@ type linuxBlockIODevice struct {
262
262
263
263
// LinuxWeightDevice struct holds a `major:minor weight` pair for weightDevice
264
264
type LinuxWeightDevice struct {
265
- linuxBlockIODevice
265
+ LinuxBlockIODevice
266
266
// Weight is the bandwidth rate for the device.
267
267
Weight * uint16 `json:"weight,omitempty"`
268
268
// 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 {
271
271
272
272
// LinuxThrottleDevice struct holds a `major:minor rate_per_second` pair
273
273
type LinuxThrottleDevice struct {
274
- linuxBlockIODevice
274
+ LinuxBlockIODevice
275
275
// Rate is the IO rate limit per cgroup per device
276
276
Rate uint64 `json:"rate"`
277
277
}
You can’t perform that action at this time.
0 commit comments