From fdb64f6f25a2f81483169504b155d5a4bd9b3fab Mon Sep 17 00:00:00 2001 From: Emil Hessman Date: Mon, 15 Dec 2014 19:25:25 +0100 Subject: [PATCH] builder/vmware/common: fix missing format argument for Fatalf call in test Fixes the following vet report: builder/vmware/common/step_shutdown_test.go:130: missing argument for Fatalf("%s"): format reads arg 1, have only 0 args --- builder/vmware/common/step_shutdown_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/vmware/common/step_shutdown_test.go b/builder/vmware/common/step_shutdown_test.go index b3c13a9f6..cdbda852d 100644 --- a/builder/vmware/common/step_shutdown_test.go +++ b/builder/vmware/common/step_shutdown_test.go @@ -127,7 +127,7 @@ func TestStepShutdown_locks(t *testing.T) { lockPath := filepath.Join(dir.dir, "nope.lck") err := ioutil.WriteFile(lockPath, []byte("foo"), 0644) if err != nil { - t.Fatalf("err: %s") + t.Fatalf("err: %s", err) } // Remove the lock file after a certain time