From 1bb4806ab45296f2aec7cc79703bdff79bcdae78 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Tue, 10 Jan 2017 13:38:06 -0800 Subject: [PATCH] Fix missing value in test failure message --- client/driver/driver_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/driver/driver_test.go b/client/driver/driver_test.go index 36045286662..9db1148c8fc 100644 --- a/client/driver/driver_test.go +++ b/client/driver/driver_test.go @@ -105,7 +105,7 @@ func testDriverContexts(t *testing.T, task *structs.Task) *testContext { td := allocDir.NewTaskDir(task.Name) if err := td.Build(config.DefaultChrootEnv, tmpdrv.FSIsolation()); err != nil { allocDir.Destroy() - t.Fatalf("TaskDir.Build(%#v, %q) failed: %v", config.DefaultChrootEnv, tmpdrv.FSIsolation()) + t.Fatalf("TaskDir.Build(%#v, %q) failed: %v", config.DefaultChrootEnv, tmpdrv.FSIsolation(), err) return nil }