Commit 002e50f4 authored by Emil Hessman's avatar Emil Hessman

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
parent 413b84af
...@@ -39,7 +39,7 @@ func TestStepCreateInstance(t *testing.T) { ...@@ -39,7 +39,7 @@ func TestStepCreateInstance(t *testing.T) {
t.Fatal("should've deleted instance") t.Fatal("should've deleted instance")
} }
if driver.DeleteInstanceZone != config.Zone { 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) { ...@@ -26,7 +26,7 @@ func TestStepTeardownInstance(t *testing.T) {
t.Fatal("should've deleted instance") t.Fatal("should've deleted instance")
} }
if driver.DeleteInstanceZone != config.Zone { if driver.DeleteInstanceZone != config.Zone {
t.Fatal("bad zone: %#v", driver.DeleteInstanceZone) t.Fatalf("bad zone: %#v", driver.DeleteInstanceZone)
} }
// cleanup // cleanup
...@@ -36,6 +36,6 @@ func TestStepTeardownInstance(t *testing.T) { ...@@ -36,6 +36,6 @@ func TestStepTeardownInstance(t *testing.T) {
t.Fatal("should've deleted disk") t.Fatal("should've deleted disk")
} }
if driver.DeleteDiskZone != config.Zone { if driver.DeleteDiskZone != config.Zone {
t.Fatal("bad zone: %#v", driver.DeleteDiskZone) t.Fatalf("bad zone: %#v", driver.DeleteDiskZone)
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment