Fix "reason" opcode parameter description
authorMichele Tartara <mtartara@google.com>
Wed, 6 Mar 2013 15:09:48 +0000 (15:09 +0000)
committerMichele Tartara <mtartara@google.com>
Wed, 6 Mar 2013 15:31:03 +0000 (16:31 +0100)
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

index faffbac..e6db3c3 100644 (file)
@@ -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])")