We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fdbc3d6 + d412a17 commit 333d05dCopy full SHA for 333d05d
validation/util/linux_resources_blkio.go
@@ -43,7 +43,7 @@ func ValidateLinuxResourcesBlockIO(config *rspec.Spec, state *rspec.State) error
43
t.Ok(*wd.Weight == *device.Weight, fmt.Sprintf("blkio weight for %d:%d is set correctly", device.Major, device.Minor))
44
t.Diagnosticf("expect: %d, actual: %d", *device.Weight, *wd.Weight)
45
46
- t.Ok(*wd.LeafWeight != *device.LeafWeight, fmt.Sprintf("blkio leafWeight for %d:%d is set correctly", device.Major, device.Minor))
+ t.Ok(*wd.LeafWeight == *device.LeafWeight, fmt.Sprintf("blkio leafWeight for %d:%d is set correctly", device.Major, device.Minor))
47
t.Diagnosticf("expect: %d, actual: %d", *device.LeafWeight, *wd.LeafWeight)
48
}
49
0 commit comments