mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
This commit is contained in:
@@ -4165,7 +4165,7 @@ func TestCleanupBandwidthLimits(t *testing.T) {
|
||||
|
||||
err := testKube.kubelet.cleanupBandwidthLimits(test.pods)
|
||||
if err != nil {
|
||||
t.Errorf("unexpected error: %v (%s)", test.name)
|
||||
t.Errorf("unexpected error: %v (%s)", test.name, err)
|
||||
}
|
||||
if !reflect.DeepEqual(shaper.ResetCIDRs, test.expectResetCIDRs) {
|
||||
t.Errorf("[%s]\nexpected: %v, saw: %v", test.name, test.expectResetCIDRs, shaper.ResetCIDRs)
|
||||
|
||||
Reference in New Issue
Block a user