Remove unnecessary usage of alloc.Resource

This commit is contained in:
Preetha Appan 2019-01-10 16:36:47 -06:00
parent 1c2fec824f
commit 3b054d6135
No known key found for this signature in database
GPG Key ID: 9F7C19990A50EAFC
1 changed files with 0 additions and 1 deletions

View File

@ -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,