From 777e8b6f4a17f0de115761d7dc834418c09bf8ff Mon Sep 17 00:00:00 2001
From: Michele Tartara <mtartara@google.com>
Date: Wed, 6 Mar 2013 15:09:48 +0000
Subject: [PATCH] Fix "reason" opcode parameter description

The "reason" opcode parameter can now apply to multiple opcodes, not just the
one for rebooting instances.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 lib/opcodes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/opcodes.py b/lib/opcodes.py
index faffbac2c..e6db3c37a 100644
--- a/lib/opcodes.py
+++ b/lib/opcodes.py
@@ -192,7 +192,7 @@ _PReason = \
              ht.TElemOf(constants.INSTANCE_REASON_SOURCES),
              ht.TMaybeString,
            ])),
-   "The reason why the reboot is happening")
+   "The reason why the state of the instance is changing")
 
 #: OP_ID conversion regular expression
 _OPID_RE = re.compile("([a-z])([A-Z])")
-- 
GitLab