1
0
mirror of https://github.com/rancher/os.git synced 2025-04-28 03:20:50 +00:00

Fix go_vet issues reported by goreportcard

This commit is contained in:
niusmallnan 2019-01-26 10:42:58 +08:00
parent 36064ca496
commit f90ddbc76d

View File

@ -363,7 +363,7 @@ func TestFilename(t *testing.T) {
{logicalInterface{name: "iface", hwaddr: net.HardwareAddr([]byte{0x01, 0x23, 0x45, 0x67, 0x89, 0xab}), configDepth: 1}, "01-iface"},
} {
if tt.i.Filename() != tt.f {
t.Fatalf("bad filename (%q): got %q, want %q", tt.i, tt.i.Filename(), tt.f)
t.Fatalf("bad filename: got %q, want %q", tt.i.Filename(), tt.f)
}
}
}