fix go 1.15 pickiness

This commit is contained in:
Chris Baker 2020-10-14 15:19:54 +00:00
parent f5250499b9
commit d4bae840b2

View file

@ -251,7 +251,7 @@ func runJob(jobID, testID string, index int) error {
}
jobspec := string(raw)
jobspec = strings.ReplaceAll(jobspec, "TESTID", testID)
jobspec = strings.ReplaceAll(jobspec, "DEPLOYNUMBER", string(index))
jobspec = strings.ReplaceAll(jobspec, "DEPLOYNUMBER", string(rune(index)))
return e2e.RegisterFromJobspec(jobID, jobspec)
}