golangci: enable goimports

Enable the goimports linter and fix reports.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2020-03-05 20:03:44 +01:00
parent 60e9e7ca9c
commit 593eb7625a
15 changed files with 15 additions and 11 deletions

View File

@ -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.