Fix all open go lint and vet issues
This commit is contained in:
parent
5289ffb270
commit
c703435790
37 changed files with 136 additions and 129 deletions
|
|
@ -24,7 +24,7 @@ func TestInfiniBandDevices(t *testing.T) {
|
|||
}
|
||||
|
||||
if l := len(devices); l != 1 {
|
||||
t.Fatal("Retrieved an unexpected number of InfiniBand devices: %d", l)
|
||||
t.Fatalf("Retrieved an unexpected number of InfiniBand devices: %d", l)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -35,6 +35,6 @@ func TestInfiniBandPorts(t *testing.T) {
|
|||
}
|
||||
|
||||
if l := len(ports); l != 2 {
|
||||
t.Fatal("Retrieved an unexpected number of InfiniBand ports: %d", l)
|
||||
t.Fatalf("Retrieved an unexpected number of InfiniBand ports: %d", l)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue