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

fix key error for checking function arguments

parent 2d07bc48
......@@ -128,7 +128,7 @@ class DataDistribution(object):
# random OSD assignment respecting OSD capacities
elif random_osd_assignment and not ignore_osd_capacities:
if osd_information is None or ratio_parameter == '':
if osd_information is None or capacity == '':
raise ValueError("ignore_osd_capacities=False is not possible if osd_information or capacity is"
"not given!")
if debug:
......
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