diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-02-21 09:24:34 -0500 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-02-26 09:37:00 -0500 |
commit | da70c9db6fb92c69d722d51873840c4e54dbe86d (patch) | |
tree | 7749b59ef1ffe84dfc281b267d17fef522677012 /cmd/podman/run.go | |
parent | 8a5e1038766b34f8cb4fbe53829ebb0dc8c0ca0a (diff) | |
download | podman-da70c9db6fb92c69d722d51873840c4e54dbe86d.tar.gz podman-da70c9db6fb92c69d722d51873840c4e54dbe86d.tar.bz2 podman-da70c9db6fb92c69d722d51873840c4e54dbe86d.zip |
When location of c/storage root changes, set VolumePath
We want named volumes to be created in a subdirectory of the
c/storage graph root, the same as the libpod root directory is
now. As such, we need to adjust its location when the graph root
changes location.
Also, make a change to how we set the default. There's no need to
explicitly set it every time we initialize via an option - that
might conflict with WithStorageConfig setting it based on graph
root changes. Instead, just initialize it in the default config
like our other settings.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'cmd/podman/run.go')
0 files changed, 0 insertions, 0 deletions