From 574d1b7b618ef7cc1c9fedc276349bd46b9c7572 Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Wed, 20 Oct 2010 20:10:21 +0200 Subject: [PATCH] LUSetInstanceParams: Remove unused attribute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit βos_newβ is not used anywhere, removing it. Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- lib/cmdlib.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/cmdlib.py b/lib/cmdlib.py index e01144cc7..ee88f2b0c 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -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) else: - self.os_new = self.os_inst = {} + self.os_inst = {} self.warn = [] -- GitLab