diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-10-21 22:20:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-21 22:20:40 +0200 |
commit | efc54c3987f95fd94b5e0aa41dd307be49d1b31b (patch) | |
tree | 1820209fcc96b950caac0fc7a9a45c0b75a10823 /libpod/volume_inspect.go | |
parent | d2591a54335424263374a919d485712e5b8aa093 (diff) | |
parent | 03da8b641df1c03aea6f9faa3ddc2b0df64ec68b (diff) | |
download | podman-efc54c3987f95fd94b5e0aa41dd307be49d1b31b.tar.gz podman-efc54c3987f95fd94b5e0aa41dd307be49d1b31b.tar.bz2 podman-efc54c3987f95fd94b5e0aa41dd307be49d1b31b.zip |
Merge pull request #4284 from mheon/fix_vol_inspect
Show volume options in 'volume inspect'
Diffstat (limited to 'libpod/volume_inspect.go')
-rw-r--r-- | libpod/volume_inspect.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/volume_inspect.go b/libpod/volume_inspect.go index 87ed9d340..c333b8961 100644 --- a/libpod/volume_inspect.go +++ b/libpod/volume_inspect.go @@ -62,6 +62,9 @@ func (v *Volume) Inspect() (*InspectVolumeData, error) { } data.Scope = v.Scope() data.Options = make(map[string]string) + for k, v := range v.config.Options { + data.Options[k] = v + } data.UID = v.config.UID data.GID = v.config.GID data.ContainerSpecific = v.config.IsCtrSpecific |