summaryrefslogtreecommitdiff
path: root/cmd/podman/shared/create.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2019-04-05 11:02:41 -0400
committerGitHub <noreply@github.com>2019-04-05 11:02:41 -0400
commitbc320be00bc584bd88525266d23a9d5edb9d44f8 (patch)
treec6d03492ac9684f22cdf5e553321569369f1cf59 /cmd/podman/shared/create.go
parented8bd80d3f09fb5c82c53bde8d6779db2613f158 (diff)
parent023eba20db1912a477eedff529fa52d356033a38 (diff)
downloadpodman-bc320be00bc584bd88525266d23a9d5edb9d44f8.tar.gz
podman-bc320be00bc584bd88525266d23a9d5edb9d44f8.tar.bz2
podman-bc320be00bc584bd88525266d23a9d5edb9d44f8.zip
Merge pull request #2742 from openSUSE/golangci-lint
Switch to golangci-lint
Diffstat (limited to 'cmd/podman/shared/create.go')
-rw-r--r--cmd/podman/shared/create.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmd/podman/shared/create.go b/cmd/podman/shared/create.go
index cd82e4f1c..57e509c2a 100644
--- a/cmd/podman/shared/create.go
+++ b/cmd/podman/shared/create.go
@@ -34,11 +34,6 @@ import (
"github.com/sirupsen/logrus"
)
-// getContext returns a non-nil, empty context
-func getContext() context.Context {
- return context.TODO()
-}
-
func CreateContainer(ctx context.Context, c *cliconfig.PodmanCommand, runtime *libpod.Runtime) (*libpod.Container, *cc.CreateConfig, error) {
var (
healthCheck *manifest.Schema2HealthConfig