From 27d9979ff95fec31501c0c1a26f71b4cd6ee636f Mon Sep 17 00:00:00 2001 From: Trond Hindenes Date: Sat, 7 Dec 2019 12:36:29 +0100 Subject: [PATCH] Fix linting errors Signed-off-by: Trond Hindenes --- cmd/helm/repo_add.go | 2 +- cmd/helm/repo_update_test.go | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/cmd/helm/repo_add.go b/cmd/helm/repo_add.go index 8450e78dc..3588e1e41 100644 --- a/cmd/helm/repo_add.go +++ b/cmd/helm/repo_add.go @@ -22,6 +22,7 @@ import ( "io" "io/ioutil" "os" + "path/filepath" "strings" "time" @@ -33,7 +34,6 @@ import ( "helm.sh/helm/v3/cmd/helm/require" "helm.sh/helm/v3/pkg/getter" "helm.sh/helm/v3/pkg/repo" - "path/filepath" ) type repoAddOptions struct { diff --git a/cmd/helm/repo_update_test.go b/cmd/helm/repo_update_test.go index 006fc5594..b13d575e2 100644 --- a/cmd/helm/repo_update_test.go +++ b/cmd/helm/repo_update_test.go @@ -18,15 +18,16 @@ package main import ( "bytes" "fmt" - "helm.sh/helm/v3/internal/test/ensure" - "helm.sh/helm/v3/pkg/getter" - "helm.sh/helm/v3/pkg/repo" - "helm.sh/helm/v3/pkg/repo/repotest" "io" "io/ioutil" "path/filepath" "strings" "testing" + + "helm.sh/helm/v3/internal/test/ensure" + "helm.sh/helm/v3/pkg/getter" + "helm.sh/helm/v3/pkg/repo" + "helm.sh/helm/v3/pkg/repo/repotest" ) func TestUpdateCmd(t *testing.T) { @@ -110,4 +111,4 @@ func TestUpdateChartsCustomCache(t *testing.T) { if err != nil { t.Error(err) } -} \ No newline at end of file +}