From 593eb7625a75f5ea670bc53316d7a8b4e376203b Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Thu, 5 Mar 2020 20:03:44 +0100 Subject: golangci: enable goimports Enable the goimports linter and fix reports. Signed-off-by: Valentin Rothberg --- pkg/hooks/exec/exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/hooks') diff --git a/pkg/hooks/exec/exec.go b/pkg/hooks/exec/exec.go index 4038e3d94..77b350573 100644 --- a/pkg/hooks/exec/exec.go +++ b/pkg/hooks/exec/exec.go @@ -5,13 +5,13 @@ import ( "bytes" "context" "fmt" - "github.com/sirupsen/logrus" "io" osexec "os/exec" "time" rspec "github.com/opencontainers/runtime-spec/specs-go" "github.com/pkg/errors" + "github.com/sirupsen/logrus" ) // DefaultPostKillTimeout is the recommended default post-kill timeout. -- cgit v1.2.3-54-g00ecf