Commit 109fa931 authored by Felix Seibert's avatar Felix Seibert
Browse files

add check whether updated folders are known in the dataDistribution

parent e91cbc39
......@@ -533,10 +533,13 @@ class DataDistribution(object):
updates the size of a given folder
found_containing_osd = False
for one_osd in self.OSDs.values():
if folder in one_osd.folders.keys():
one_osd.update_folder(folder, size)
found_containing_osd = True
assert found_containing_osd is True
def description(self):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment