summaryrefslogtreecommitdiff
path: root/cmd/podman/shared/create.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-05-02 16:29:27 +0200
committerGitHub <noreply@github.com>2019-05-02 16:29:27 +0200
commit6c69fe104477dba113e0e4b6efaca344c5f802bc (patch)
treeadcb119573116741e5b95dfd80b30f722d00a6fc /cmd/podman/shared/create.go
parent7d05ff3fc772a7be4860ed4a3cd59a62f8bb893a (diff)
parent7f157dbe46ec5f69a4860748e5ea5dd2e5b601ad (diff)
downloadpodman-6c69fe104477dba113e0e4b6efaca344c5f802bc.tar.gz
podman-6c69fe104477dba113e0e4b6efaca344c5f802bc.tar.bz2
podman-6c69fe104477dba113e0e4b6efaca344c5f802bc.zip
Merge pull request #2863 from cevich/fix_new_lint
Remove two bits of dead code
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 48476e177..eac2d044d 100644
--- a/cmd/podman/shared/create.go
+++ b/cmd/podman/shared/create.go
@@ -726,11 +726,6 @@ func ParseCreateOpts(ctx context.Context, c *GenericCLIResults, runtime *libpod.
return config, nil
}
-type namespace interface {
- IsContainer() bool
- Container() string
-}
-
func CreateContainerFromCreateConfig(r *libpod.Runtime, createConfig *cc.CreateConfig, ctx context.Context, pod *libpod.Pod) (*libpod.Container, error) {
runtimeSpec, err := cc.CreateConfigToOCISpec(createConfig)
if err != nil {