Fix vet error

This commit is contained in:
Preetha Appan
2018-11-08 09:04:49 -06:00
parent c5757f44ee
commit 1d7ebb98ee

View File

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