Commit e2334900 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix breakage in OS state modify

I was using the feedback_fn function incorrectly (it doesn't
automatically expand the arguments).
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarRené Nussbaumer <>
parent 86c340af
......@@ -2882,14 +2882,14 @@ class LUSetClusterParams(LogicalUnit):
for key, val in mods:
if key == constants.DDM_ADD:
if val in lst:
feedback_fn("OS %s already in %s, ignoring", val, desc)
feedback_fn("OS %s already in %s, ignoring" % (val, desc))
elif key == constants.DDM_REMOVE:
if val in lst:
feedback_fn("OS %s not found in %s, ignoring", val, desc)
feedback_fn("OS %s not found in %s, ignoring" % (val, desc))
raise errors.ProgrammerError("Invalid modification '%s'" % key)
Markdown is supported
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