diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-07-15 14:55:20 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-08-02 15:08:30 -0400 |
commit | 8b72a72ca2171a8545023ee45ab42de9a78ae5f4 (patch) | |
tree | a3088463cf5c93883a1bf09498e927a35ae70793 /pkg/adapter | |
parent | 3cc9ab8992833ddf952df479ffb239c61845fa2e (diff) | |
download | podman-8b72a72ca2171a8545023ee45ab42de9a78ae5f4.tar.gz podman-8b72a72ca2171a8545023ee45ab42de9a78ae5f4.tar.bz2 podman-8b72a72ca2171a8545023ee45ab42de9a78ae5f4.zip |
Implement backend for 'volume inspect'
Begin to separate the internal structures and frontend for
inspect on volumes. We can't rely on keeping internal data
structures for external presentation - separating presentation
and internal data format is good practice.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'pkg/adapter')
-rw-r--r-- | pkg/adapter/runtime_remote.go | 1 | ||||
-rw-r--r-- | pkg/adapter/volumes_remote.go | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/pkg/adapter/runtime_remote.go b/pkg/adapter/runtime_remote.go index 9fae39df0..92478aa0f 100644 --- a/pkg/adapter/runtime_remote.go +++ b/pkg/adapter/runtime_remote.go @@ -661,7 +661,6 @@ func varlinkVolumeToVolume(r *LocalRuntime, volumes []iopodman.Volume) []*Volume MountPoint: v.MountPoint, Driver: v.Driver, Options: v.Options, - Scope: v.Scope, } n := remoteVolume{ Runtime: r, diff --git a/pkg/adapter/volumes_remote.go b/pkg/adapter/volumes_remote.go index beacd943a..58f9ba625 100644 --- a/pkg/adapter/volumes_remote.go +++ b/pkg/adapter/volumes_remote.go @@ -29,5 +29,5 @@ func (v *Volume) MountPoint() string { // Scope returns the scope for an adapter.volume func (v *Volume) Scope() string { - return v.config.Scope + return "local" } |