mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Whitespace fix
This commit is contained in:
parent
2a44137419
commit
37354f1a81
@ -226,7 +226,7 @@ def destroy(name, **kwargs):
|
||||
CLI Example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
||||
salt '*' zfs.destroy myzpool/mydataset [force=True|False]
|
||||
'''
|
||||
ret = {}
|
||||
@ -243,7 +243,7 @@ def destroy(name, **kwargs):
|
||||
return ret
|
||||
elif "dataset does not exist" in res:
|
||||
ret['Error'] = 'Cannot destroy {0}: dataset does not exist'.format(name)
|
||||
elif "operation does not apply to pools" in res:
|
||||
elif "operation does not apply to pools" in res:
|
||||
ret['Error'] = 'Cannot destroy {0}: use zpool.destroy to destroy the pool'.format(name)
|
||||
else:
|
||||
ret['Error'] = res
|
||||
|
Loading…
Reference in New Issue
Block a user