aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r--cmd/podman/common.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go
index 4b268dfff..5e670dcc8 100644
--- a/cmd/podman/common.go
+++ b/cmd/podman/common.go
@@ -14,10 +14,6 @@ import (
"github.com/urfave/cli"
)
-var (
- stores = make(map[storage.Store]struct{})
-)
-
const crioConfigPath = "/etc/crio/crio.conf"
func getRuntime(c *cli.Context) (*libpod.Runtime, error) {
@@ -36,14 +32,6 @@ func getRuntime(c *cli.Context) (*libpod.Runtime, error) {
return libpod.NewRuntime(libpod.WithStorageConfig(options), libpod.WithConmonPath(config.Conmon), libpod.WithOCIRuntime(config.Runtime), libpod.WithCNIConfigDir(config.NetworkDir))
}
-func shutdownStores() {
- for store := range stores {
- if _, err := store.Shutdown(false); err != nil {
- break
- }
- }
-}
-
func getConfig(c *cli.Context) (*libkpod.Config, error) {
config := libkpod.DefaultConfig()
var configFile string