From 8573ab9db091508bbb057afb4ae5fe7fd84d807e Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Mon, 23 Jan 2017 11:26:34 -0800 Subject: [PATCH] fix test build --- client/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client_test.go b/client/client_test.go index 69f77caffb0..0455ca3fadd 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -899,7 +899,7 @@ func TestClient_UnarchiveAllocDir(t *testing.T) { rc := ioutil.NopCloser(buf) - c1.migratingAllocs["123"] = make(chan struct{}) + c1.migratingAllocs["123"] = newMigrateAllocCtrl() if err := c1.unarchiveAllocDir(rc, "123", dir1); err != nil { t.Fatalf("err: %v", err) }