Merge pull request #46974 from liggitt/cert-filename

Automatic merge from submit-queue (batch tested with PRs 46112, 46764, 46727, 46974, 46968)

Avoid * in filenames

Fixes #46958
This commit is contained in:
Kubernetes Submit Queue 2017-06-06 03:17:46 -07:00 committed by GitHub
commit f01fd32301
3 changed files with 2 additions and 1 deletions

View File

@ -395,7 +395,8 @@ func TestServerRunWithSNI(t *testing.T) {
}
specToName := func(spec TestCertSpec) string {
return spec.host + "_" + strings.Join(spec.names, ",") + "_" + strings.Join(spec.ips, ",")
name := spec.host + "_" + strings.Join(spec.names, ",") + "_" + strings.Join(spec.ips, ",")
return strings.Replace(name, "*", "star", -1)
}
NextTest: