Fix ZFS create

This was failing due to the createparent variable being referenced but
never actually loaded from properties
reviewable/pr18780/r1
Matt Carroll 9 years ago
parent 5d4474a2b2
commit 5160c4567c

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

Loading…
Cancel
Save