summaryrefslogtreecommitdiff
path: root/pkg/hooks/exec
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-03-05 20:03:44 +0100
committerValentin Rothberg <rothberg@redhat.com>2020-03-05 20:03:44 +0100
commit593eb7625a75f5ea670bc53316d7a8b4e376203b (patch)
treee5ded209dc790ff2794a782aae6cf95d542b8f84 /pkg/hooks/exec
parent60e9e7ca9c9081f31f6b37c922f0058f82b989ad (diff)
downloadpodman-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/hooks/exec')
-rw-r--r--pkg/hooks/exec/exec.go2
1 files changed, 1 insertions, 1 deletions
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.