Merge pull request #9089 from hashicorp/b-explicit-rune
fix go 1.15 pickiness
This commit is contained in:
commit
0a85d2bd24
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue