Commit fa033f1d authored by Felix Seibert's avatar Felix Seibert
Browse files

adding more debug stuff

parent 63399978
......@@ -678,7 +678,9 @@ class OSDManager(object):
search for the assigned folder that is a prefix of the given path on volume
'''
def get_containing_folder_id(self, path_on_volume):
print("OSDs.values: " + str(self.distribution.OSDs.values()))
for osd in self.distribution.OSDs.values():
print("osd.folders.values(): " + str(osd.folders.values()))
for a_folder in osd.folders.values():
if path_on_volume.startswith(a_folder.id):
return a_folder.id
......
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