Skip to content

Commit 7c22ef9

Browse files
kaosmattfarina
authored andcommitted
chart_downloader: fix lint issue.
Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se> (cherry picked from commit 4c43283)
1 parent e1459ac commit 7c22ef9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/downloader/chart_downloader_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func TestResolveChartOpts(t *testing.T) {
8787
}{
8888
{
8989
name: "repo with CA-file",
90-
ref: "testing-ca-file/foo",
90+
ref: "testing-ca-file/foo",
9191
expect: []getter.Option{
9292
getter.WithURL("https://example.com/foo-1.2.3.tgz"),
9393
getter.WithTLSClientConfig("cert", "key", "ca"),
@@ -106,11 +106,11 @@ func TestResolveChartOpts(t *testing.T) {
106106
}
107107

108108
// snapshot options
109-
snapshot_opts := c.Options
109+
snapshotOpts := c.Options
110110

111111
for _, tt := range tests {
112112
// reset chart downloader options for each test case
113-
c.Options = snapshot_opts
113+
c.Options = snapshotOpts
114114

115115
expect, err := getter.NewHTTPGetter(tt.expect...)
116116
if err != nil {
@@ -128,7 +128,7 @@ func TestResolveChartOpts(t *testing.T) {
128128
append(
129129
c.Options,
130130
getter.WithURL(u.String()),
131-
)...
131+
)...,
132132
)
133133
if err != nil {
134134
t.Errorf("%s: failed to create http client: %s", tt.name, err)

0 commit comments

Comments
 (0)