Commit 574d1b7b authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

LUSetInstanceParams: Remove unused attribute

“os_new” is not used anywhere, removing it.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent 69dd363f
......@@ -8832,10 +8832,9 @@ class LUSetInstanceParams(LogicalUnit):
if self.op.osparams:
i_osdict = _GetUpdatedParams(instance.osparams, self.op.osparams)
_CheckOSParams(self, True, nodelist, instance_os, i_osdict)
self.os_new = cluster.SimpleFillOS(instance_os, i_osdict)
self.os_inst = i_osdict # the new dict (without defaults)
self.os_new = self.os_inst = {}
self.os_inst = {}
self.warn = []
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