1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix ZFS create

This was failing due to the createparent variable being referenced but
never actually loaded from properties
This commit is contained in:
Matt Carroll 2015-10-25 01:06:58 +01:00 committed by Matt Clay
parent d9a29f394f
commit 164e1f3baa

View file

@ -265,6 +265,7 @@ class Zfs(object):
volsize = properties.pop('volsize', None)
volblocksize = properties.pop('volblocksize', None)
origin = properties.pop('origin', None)
createparent = properties.pop('createparent', None)
if "@" in self.name:
action = 'snapshot'
elif origin: