mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 02:45:42 +03:00
fix test build
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user