builder/googlecompute: fix formatting directives
Fixes the following vet reports: builder/googlecompute/step_create_instance_test.go:42: possible formatting directive in Fatal call builder/googlecompute/step_teardown_instance_test.go:29: possible formatting directive in Fatal call builder/googlecompute/step_teardown_instance_test.go:39: possible formatting directive in Fatal call
This commit is contained in:
parent
413b84af6b
commit
002e50f493
|
@ -39,7 +39,7 @@ func TestStepCreateInstance(t *testing.T) {
|
|||
t.Fatal("should've deleted instance")
|
||||
}
|
||||
if driver.DeleteInstanceZone != config.Zone {
|
||||
t.Fatal("bad zone: %#v", driver.DeleteInstanceZone)
|
||||
t.Fatalf("bad zone: %#v", driver.DeleteInstanceZone)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ func TestStepTeardownInstance(t *testing.T) {
|
|||
t.Fatal("should've deleted instance")
|
||||
}
|
||||
if driver.DeleteInstanceZone != config.Zone {
|
||||
t.Fatal("bad zone: %#v", driver.DeleteInstanceZone)
|
||||
t.Fatalf("bad zone: %#v", driver.DeleteInstanceZone)
|
||||
}
|
||||
|
||||
// cleanup
|
||||
|
@ -36,6 +36,6 @@ func TestStepTeardownInstance(t *testing.T) {
|
|||
t.Fatal("should've deleted disk")
|
||||
}
|
||||
if driver.DeleteDiskZone != config.Zone {
|
||||
t.Fatal("bad zone: %#v", driver.DeleteDiskZone)
|
||||
t.Fatalf("bad zone: %#v", driver.DeleteDiskZone)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue