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:
Emil Hessman 2014-12-15 19:16:19 +01:00
parent 413b84af6b
commit 002e50f493
2 changed files with 3 additions and 3 deletions

View File

@ -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)
}
}

View File

@ -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)
}
}