From b9566b8799f3981fe68d543fb3a6c2cb0dc0c3dc Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Thu, 17 Sep 2020 13:45:54 -0600 Subject: [PATCH] fix formatting error (#8758) Signed-off-by: Matt Butcher --- pkg/helm/fake.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/helm/fake.go b/pkg/helm/fake.go index 46126410d..3b012c00c 100644 --- a/pkg/helm/fake.go +++ b/pkg/helm/fake.go @@ -19,6 +19,7 @@ package helm // import "k8s.io/helm/pkg/helm" import ( "bytes" "errors" + "fmt" "math/rand" "strings" "sync" @@ -332,7 +333,7 @@ func ReleaseMock(opts *MockReleaseOptions) *release.Release { name := opts.Name if name == "" { - name = "testrelease-" + string(rand.Intn(100)) + name = fmt.Sprintf("testrelease-%d", rand.Intn(100)) } var version int32 = 1