diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2017-11-29 17:58:42 +0000 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-11-29 20:40:50 +0000 |
commit | cefa782e5067515bc38b5b3688d53f4fd9d0c70b (patch) | |
tree | 1f0ee1f05a9f1d3933647186b7dbf8df49ab87fd /libpod/options.go | |
parent | 13e833a3884a22ac303b6f97a59cbeef16950243 (diff) | |
download | podman-cefa782e5067515bc38b5b3688d53f4fd9d0c70b.tar.gz podman-cefa782e5067515bc38b5b3688d53f4fd9d0c70b.tar.bz2 podman-cefa782e5067515bc38b5b3688d53f4fd9d0c70b.zip |
Move libpod under containers/storage
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #65
Approved by: mheon
Diffstat (limited to 'libpod/options.go')
-rw-r--r-- | libpod/options.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/options.go b/libpod/options.go index 4c21a70c9..59141115d 100644 --- a/libpod/options.go +++ b/libpod/options.go @@ -2,6 +2,7 @@ package libpod import ( "fmt" + "path/filepath" "github.com/containers/storage" "github.com/containers/storage/pkg/idtools" @@ -43,6 +44,7 @@ func WithStorageConfig(config storage.StoreOptions) RuntimeOption { rt.config.StorageConfig.RunRoot = config.RunRoot rt.config.StorageConfig.GraphRoot = config.GraphRoot rt.config.StorageConfig.GraphDriverName = config.GraphDriverName + rt.config.StaticDir = filepath.Join(config.GraphRoot, "libpod") rt.config.StorageConfig.GraphDriverOptions = make([]string, len(config.GraphDriverOptions)) copy(rt.config.StorageConfig.GraphDriverOptions, config.GraphDriverOptions) |