summaryrefslogtreecommitdiff
path: root/cmd/kpod/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/kpod/common.go')
-rw-r--r--cmd/kpod/common.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/cmd/kpod/common.go b/cmd/kpod/common.go
index 046ea4509..99685107b 100644
--- a/cmd/kpod/common.go
+++ b/cmd/kpod/common.go
@@ -6,7 +6,6 @@ import (
"regexp"
"strings"
- is "github.com/containers/image/storage"
"github.com/containers/storage"
"github.com/fatih/camelcase"
"github.com/pkg/errors"
@@ -21,22 +20,6 @@ var (
const crioConfigPath = "/etc/crio/crio.conf"
-func getStore(c *libkpod.Config) (storage.Store, error) {
- options := storage.DefaultStoreOptions
- options.GraphRoot = c.Root
- options.RunRoot = c.RunRoot
- options.GraphDriverName = c.Storage
- options.GraphDriverOptions = c.StorageOptions
-
- store, err := storage.GetStore(options)
- if err != nil {
- return nil, err
- }
- is.Transport.SetStore(store)
- stores[store] = struct{}{}
- return store, nil
-}
-
func getRuntime(c *cli.Context) (*libpod.Runtime, error) {
config, err := getConfig(c)