From 3b054d61357fabaf6e6d5ad5efcad617d6accc4c Mon Sep 17 00:00:00 2001 From: Preetha Appan Date: Thu, 10 Jan 2019 16:36:47 -0600 Subject: [PATCH] Remove unnecessary usage of alloc.Resource --- scheduler/preemption_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/scheduler/preemption_test.go b/scheduler/preemption_test.go index 3949dece9..ccbfa6f7e 100644 --- a/scheduler/preemption_test.go +++ b/scheduler/preemption_test.go @@ -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,