mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
document the behavior if the driver is unspecified
This commit is contained in:
parent
276cf626b0
commit
849b94ed73
@ -2091,7 +2091,13 @@ def volume_present(name, driver=None, driver_opts=None):
|
||||
Name of the volume
|
||||
|
||||
driver
|
||||
Type of driver for that volume.
|
||||
Type of driver for that volume. If ``None`` and the volume
|
||||
does not yet exist, the volume will be created using Docker's
|
||||
default driver. If ``None`` and the volume does exist, this
|
||||
function does nothing, even if the existing volume's driver is
|
||||
not the Docker default driver. (To ensure that an existing
|
||||
volume's driver matches the Docker default, you must
|
||||
explicitly name Docker's default driver here.)
|
||||
|
||||
driver_opts
|
||||
Option for tha volume driver
|
||||
|
Loading…
Reference in New Issue
Block a user