previous changes and this fix improved caching (less runs in test_scaling.py)

This commit is contained in:
Edwin Eefting
2022-01-27 11:02:11 +01:00
parent 81d0bee7ae
commit 88d856d813
2 changed files with 5 additions and 3 deletions

View File

@ -107,7 +107,7 @@ class ZfsNode(ExecuteNode):
def get_dataset(self, name, force_exists=None):
"""get a ZfsDataset() object from name. stores objects internally to enable caching"""
return self.__datasets.setdefault(name, ZfsDataset(self, name))
return self.__datasets.setdefault(name, ZfsDataset(self, name, force_exists))
def reset_progress(self):
"""reset progress output counters"""