[SCM] Ganeti core branch stable-2.6 updated. v2.6.1-33-g7029698

0 views
Skip to first unread message

ganeti-vcs

unread,
Nov 19, 2012, 8:17:54 AM11/19/12
to ganeti-...@googlegroups.com
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Ganeti core".

The branch, stable-2.6 has been updated
via 70296981564a7fe566a69b12c4111fcd30325674 (commit)
from e98bb8c848b1b01fbb3fd44fab293b950f08a495 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 70296981564a7fe566a69b12c4111fcd30325674
Author: Iustin Pop <ius...@google.com>
Date: Mon Nov 19 13:34:42 2012 +0100

Fix opcode validation for OpOobCommand.command

The 'command' attribute of the OpOobCommand command is defined with a
default value of None, but its validation requires a member of
constants.OOB_COMMANDS, which doesn't accept None. This result in the
following error when submitting an opcode without the command:

error type: wrong_input, error details:
Parameter 'OP_OOB_COMMAND.command' fails validation

I suspect this was simply a mistake, since the commit that introduced
it (65e183af, “opcodes: Add opcode parameter definitions”) did lots of
bulk updates.

Signed-off-by: Iustin Pop <ius...@google.com>
Reviewed-by: Michael Hanselmann <han...@google.com>

-----------------------------------------------------------------------

Summary of changes:
lib/opcodes.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
--
Ganeti core
Reply all
Reply to author
Forward
0 new messages