diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-01-03 16:11:17 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-01-04 21:05:10 +0000 |
commit | 137e5c8ffd5e1d7abe47398d909c9611f19bfcbb (patch) | |
tree | 00d75fc65299cc9fea3364528b68c74899000fcc /cmd/podman/common.go | |
parent | 04593b1591fe78b5e8689ce144431a3f07c19fbe (diff) | |
download | podman-137e5c8ffd5e1d7abe47398d909c9611f19bfcbb.tar.gz podman-137e5c8ffd5e1d7abe47398d909c9611f19bfcbb.tar.bz2 podman-137e5c8ffd5e1d7abe47398d909c9611f19bfcbb.zip |
We no longer use stores
This code is from when we were using libkpod and kept track of stores.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #183
Approved by: TomSweeneyRedHat
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r-- | cmd/podman/common.go | 12 |
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 |