mirror of
https://github.com/containers/podman.git
synced 2025-06-30 15:49:03 +08:00
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>
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user