Skip to content

Commit

Permalink
fix formatting error (#8758)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
  • Loading branch information
technosophos committed Sep 17, 2020
1 parent 3a7b781 commit b9566b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/helm/fake.go
Expand Up @@ -19,6 +19,7 @@ package helm // import "k8s.io/helm/pkg/helm"
import (
"bytes"
"errors"
"fmt"
"math/rand"
"strings"
"sync"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b9566b8

Please sign in to comment.