zfs: dataset creation: fix error when iterating over metadata properties

main
svalouch 5 years ago
parent 55dcd9e4ec
commit 1c977670e2

@ -500,7 +500,7 @@ class ZFS:
_metadata_properties = dict() # type: Dict[str, str] _metadata_properties = dict() # type: Dict[str, str]
if metadata_properties is not None: if metadata_properties is not None:
for k, v in metadata_properties: for k, v in metadata_properties.items():
# if the name has no namespace, add the default one if set # if the name has no namespace, add the default one if set
if ':' not in k: if ':' not in k:
if not self._metadata_namespace: if not self._metadata_namespace:

Loading…
Cancel
Save