fix go 1.15 pickiness

This commit is contained in:
Chris Baker
2020-10-14 15:19:54 +00:00
parent 5ddb88227e
commit 3245adb807

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)
}