mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
fix thin argument for `lvm.lv_create'
This fixes #36604. The `--thin' option of `lvcreate' does not accept a further argument. I checked this for LVMs library version 1.02.77 (shipped in Ubuntu 14.04) and 1.02.110 (Ubuntu 16.04).
This commit is contained in:
parent
2775edc176
commit
740516aace
@ -280,7 +280,7 @@ def lvcreate(lvname, vgname, size=None, extents=None, snapshot=None, pv=None, **
|
||||
'monitor', 'ignoremonitoring', 'permission', 'poolmetadatasize',
|
||||
'readahead', 'regionsize', 'thin', 'thinpool', 'type', 'virtualsize',
|
||||
'zero',)
|
||||
no_parameter = ('noudevsync', 'ignoremonitoring', )
|
||||
no_parameter = ('noudevsync', 'ignoremonitoring', 'thin', )
|
||||
|
||||
extra_arguments = []
|
||||
if kwargs:
|
||||
|
Loading…
Reference in New Issue
Block a user