mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix quoting bug in zfs. (#4726)
This commit is contained in:
parent
1e646aad2d
commit
01b32fec14
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/4726-zfs.yml
Normal file
2
changelogs/fragments/4726-zfs.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- "zfs - fix wrong quoting of properties (https://github.com/ansible-collections/community.general/issues/4707, https://github.com/ansible-collections/community.general/pull/4726)."
|
|
@ -160,7 +160,7 @@ class Zfs(object):
|
|||
elif prop == 'volblocksize':
|
||||
cmd += ['-b', value]
|
||||
else:
|
||||
cmd += ['-o', '%s="%s"' % (prop, value)]
|
||||
cmd += ['-o', '%s=%s' % (prop, value)]
|
||||
if origin and action == 'clone':
|
||||
cmd.append(origin)
|
||||
cmd.append(self.name)
|
||||
|
|
Loading…
Reference in a new issue