diff options
author | Brent Baude <bbaude@redhat.com> | 2020-04-27 15:28:01 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-04-27 16:12:06 -0500 |
commit | e78e66c5b9a103f577df155b3f61130cfc718d0f (patch) | |
tree | 89f7396afc56d5fc09f28bbf2f42dec9167d277f /libpod | |
parent | f6f71724949c22cf89a44015c29bd5a144db7390 (diff) | |
download | podman-e78e66c5b9a103f577df155b3f61130cfc718d0f.tar.gz podman-e78e66c5b9a103f577df155b3f61130cfc718d0f.tar.bz2 podman-e78e66c5b9a103f577df155b3f61130cfc718d0f.zip |
enable volume integration tests
enabled integration tests for volumes. there are two exceptions that still need work because of something not yet implemented.
also, add code to deal with the fact that containers conf appears to set a local volume driver where it used to be simply blank.
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/options.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libpod/options.go b/libpod/options.go index b4e436b63..33b423bce 100644 --- a/libpod/options.go +++ b/libpod/options.go @@ -1400,8 +1400,13 @@ func WithVolumeDriver(driver string) VolumeCreateOption { if volume.valid { return define.ErrVolumeFinalized } + // only local driver is possible rn + if driver != define.VolumeDriverLocal { + return define.ErrNotImplemented - return define.ErrNotImplemented + } + volume.config.Driver = define.VolumeDriverLocal + return nil } } |