Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit d8456d6

Browse files
authored
Merge pull request #1047 from adrianludwin/v0.5-go115
Cherrypick: Make it work with Go 1.15
2 parents bc976e9 + 4cc22b0 commit d8456d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: incubator/hnc/internal/reconcilers/hierarchy_config_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package reconcilers_test
22

33
import (
44
"context"
5+
"fmt"
56

67
. "github.com/onsi/ginkgo"
78
. "github.com/onsi/gomega"
@@ -449,7 +450,7 @@ func hasChild(ctx context.Context, nm, cnm string) func() bool {
449450
func createNSes(ctx context.Context, num int) []string {
450451
nms := []string{}
451452
for i := 0; i < num; i++ {
452-
nm := createNS(ctx, string('a'+i))
453+
nm := createNS(ctx, fmt.Sprintf("%c", 'a'+i))
453454
nms = append(nms, nm)
454455
}
455456
return nms

0 commit comments

Comments
 (0)