chart_downloader: fix lint issue.

Signed-off-by: Andreas Stenius <andreas.stenius@svenskaspel.se>
(cherry picked from commit 4c4328398e)
pull/7423/head v3.0.1
Andreas Stenius 6 years ago committed by Matt Farina
parent e1459ac580
commit 7c22ef9ce8
No known key found for this signature in database
GPG Key ID: 9436E80BFBA46909

@ -106,11 +106,11 @@ func TestResolveChartOpts(t *testing.T) {
}
// snapshot options
snapshot_opts := c.Options
snapshotOpts := c.Options
for _, tt := range tests {
// reset chart downloader options for each test case
c.Options = snapshot_opts
c.Options = snapshotOpts
expect, err := getter.NewHTTPGetter(tt.expect...)
if err != nil {
@ -128,7 +128,7 @@ func TestResolveChartOpts(t *testing.T) {
append(
c.Options,
getter.WithURL(u.String()),
)...
)...,
)
if err != nil {
t.Errorf("%s: failed to create http client: %s", tt.name, err)

Loading…
Cancel
Save