Fix mispopulation of nic parameters at nic modify
authorGuido Trotter <ultrotter@google.com>
Thu, 12 Nov 2009 15:44:51 +0000 (15:44 +0000)
committerGuido Trotter <ultrotter@google.com>
Thu, 12 Nov 2009 17:29:13 +0000 (17:29 +0000)
commitbeabf06714d9170e96a1fa49824d4be38decae3c
tree0d14425e3c717516c7d14262685b9b806500e4b6
parent3e5af83336144f66764c9b55049bfe6083ad7592
Fix mispopulation of nic parameters at nic modify

There's a bug in Ganeti 2.1 rc0 that makes nic parameters be populated
from the "filled in" dict, even if we're not changing any values in
them. This patch fixes the problem, by populating them from the correct
(unfilled) dict.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/cmdlib.py