aboutsummaryrefslogtreecommitdiff
path: root/pkg/specgen
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/specgen
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/specgen')
-rw-r--r--pkg/specgen/create.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/specgen/create.go b/pkg/specgen/create.go
index 34f9ffac2..e6ac53016 100644
--- a/pkg/specgen/create.go
+++ b/pkg/specgen/create.go
@@ -2,12 +2,13 @@ package specgen
import (
"context"
+ "os"
+
"github.com/containers/libpod/libpod"
"github.com/containers/libpod/libpod/config"
"github.com/containers/libpod/libpod/define"
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
- "os"
)
// MakeContainer creates a container based on the SpecGenerator