summaryrefslogtreecommitdiff
path: root/cmd/podman/common.go
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/common.go
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/common.go')
-rw-r--r--cmd/podman/common.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go
index 10fed053e..f4d128df2 100644
--- a/cmd/podman/common.go
+++ b/cmd/podman/common.go
@@ -10,17 +10,13 @@ import (
"github.com/containers/libpod/cmd/podman/cliconfig"
"github.com/containers/libpod/libpod"
"github.com/containers/libpod/pkg/rootless"
- "github.com/containers/storage"
"github.com/fatih/camelcase"
jsoniter "github.com/json-iterator/go"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
-var (
- stores = make(map[storage.Store]struct{})
- json = jsoniter.ConfigCompatibleWithStandardLibrary
-)
+var json = jsoniter.ConfigCompatibleWithStandardLibrary
const (
idTruncLength = 12