From 488b540d02e4feac3fe1a54ef284c59a6a7d30a5 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Fri, 29 Feb 2008 12:32:59 +0000 Subject: [PATCH] Fix cluster rename operation This one-liner fixes the cluster rename operation. As a side note, we should have a QA test for this too. Reviewed-by: imsnah --- lib/cmdlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cmdlib.py b/lib/cmdlib.py index 629ae29e5..10ee633ba 100644 --- a/lib/cmdlib.py +++ b/lib/cmdlib.py @@ -972,7 +972,7 @@ class LURenameCluster(LogicalUnit): """ env = { - "OP_TARGET": self.op.sstore.GetClusterName(), + "OP_TARGET": self.sstore.GetClusterName(), "NEW_NAME": self.op.name, } mn = self.sstore.GetMasterNode() -- GitLab