summaryrefslogtreecommitdiff
path: root/cmd/podman/shared
diff options
context:
space:
mode:
authorSascha Grunert <sgrunert@suse.com>2019-03-22 09:56:34 +0100
committerSascha Grunert <sgrunert@suse.com>2019-04-04 09:07:05 +0200
commit81a4451fea812d65ddef4b3a4fc821cbfefd7670 (patch)
tree2b7fe3a3df1f08a106c012a74580604020421bd6 /cmd/podman/shared
parent42830ab711aadb69e344a58627c6c7cfee45ddc9 (diff)
downloadpodman-81a4451fea812d65ddef4b3a4fc821cbfefd7670.tar.gz
podman-81a4451fea812d65ddef4b3a4fc821cbfefd7670.tar.bz2
podman-81a4451fea812d65ddef4b3a4fc821cbfefd7670.zip
Add deadcode linter
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
Diffstat (limited to 'cmd/podman/shared')
-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 d927e5bf6..39af8ddd5 100644
--- a/cmd/podman/shared/create.go
+++ b/cmd/podman/shared/create.go
@@ -35,11 +35,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