From 1d7ebb98eec5aeb173c30c2dd6e5b75918eabc89 Mon Sep 17 00:00:00 2001 From: Preetha Appan Date: Thu, 8 Nov 2018 09:04:49 -0600 Subject: [PATCH] Fix vet error --- command/job_plan_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/job_plan_test.go b/command/job_plan_test.go index 5f74dcaefbc..34f4b31fc51 100644 --- a/command/job_plan_test.go +++ b/command/job_plan_test.go @@ -225,7 +225,7 @@ func TestPlanCommad_Preemptions(t *testing.T) { // More than 10 unique job IDs preemptedAllocs = make([]*api.AllocationListStub, 0) - job_type := "batch" + var job_type string for i := 0; i < 20; i++ { job_id := "job" + strconv.Itoa(i) if i%2 == 0 {