Remove unnecessary usage of alloc.Resource
This commit is contained in:
parent
1c2fec824f
commit
3b054d6135
|
@ -1308,7 +1308,6 @@ func createAllocWithDevice(id string, job *structs.Job, resource *structs.Resour
|
|||
TaskResources: map[string]*structs.Resources{
|
||||
"web": resource,
|
||||
},
|
||||
Resources: resource,
|
||||
Namespace: structs.DefaultNamespace,
|
||||
EvalID: uuid.Generate(),
|
||||
DesiredStatus: structs.AllocDesiredStatusRun,
|
||||
|
|
Loading…
Reference in New Issue