diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-03-05 20:03:44 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-03-05 20:03:44 +0100 |
commit | 593eb7625a75f5ea670bc53316d7a8b4e376203b (patch) | |
tree | e5ded209dc790ff2794a782aae6cf95d542b8f84 /pkg/api/handlers/utils | |
parent | 60e9e7ca9c9081f31f6b37c922f0058f82b989ad (diff) | |
download | podman-593eb7625a75f5ea670bc53316d7a8b4e376203b.tar.gz podman-593eb7625a75f5ea670bc53316d7a8b4e376203b.tar.bz2 podman-593eb7625a75f5ea670bc53316d7a8b4e376203b.zip |
golangci: enable goimports
Enable the goimports linter and fix reports.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/api/handlers/utils')
-rw-r--r-- | pkg/api/handlers/utils/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/utils/handler.go b/pkg/api/handlers/utils/handler.go index 44bcc794c..32b8c5b0a 100644 --- a/pkg/api/handlers/utils/handler.go +++ b/pkg/api/handlers/utils/handler.go @@ -3,7 +3,6 @@ package utils import ( "encoding/json" "fmt" - "github.com/pkg/errors" "io" "net/http" "net/url" @@ -11,6 +10,7 @@ import ( "strings" "github.com/gorilla/mux" + "github.com/pkg/errors" "github.com/sirupsen/logrus" ) |