Merge pull request #9089 from hashicorp/b-explicit-rune

fix go 1.15 pickiness
This commit is contained in:
Chris Baker 2020-10-14 10:37:36 -05:00 committed by GitHub
commit 0a85d2bd24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,7 +251,7 @@ func runJob(jobID, testID string, index int) error {
} }
jobspec := string(raw) jobspec := string(raw)
jobspec = strings.ReplaceAll(jobspec, "TESTID", testID) 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) return e2e.RegisterFromJobspec(jobID, jobspec)
} }