mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 09:55:44 +03:00
small env fix
This commit is contained in:
@@ -158,6 +158,7 @@ func setupTaskEnv(t *testing.T, driver string) (*allocdir.TaskDir, map[string]st
|
||||
alloc := mock.Alloc()
|
||||
alloc.Job.TaskGroups[0].Tasks[0] = task
|
||||
alloc.Name = "Bar"
|
||||
alloc.TaskResources["web"].Networks[0].DynamicPorts[0].Value = 2000
|
||||
conf := testConfig()
|
||||
allocDir := allocdir.NewAllocDir(testLogger(), filepath.Join(conf.AllocDir, alloc.ID))
|
||||
taskDir := allocDir.NewTaskDir(task.Name)
|
||||
|
||||
Reference in New Issue
Block a user