Fixing crash when removing disks
authorHelga Velroyen <helgav@google.com>
Thu, 29 Nov 2012 10:06:42 +0000 (11:06 +0100)
committerHelga Velroyen <helgav@google.com>
Thu, 29 Nov 2012 11:26:50 +0000 (12:26 +0100)
commit853c570bad961987ffbff4c3fea482a70d3826f7
treede778aa68035aa3e7cdf08af9265b17ac0ba7773
parent48aaca91efa214b37dba94f28582be73f3c90dbd
Fixing crash when removing disks

This bug was introduced by my commit "Check ispecs against ipolicy on
instance modify", because I did not filter for the 'add' action. Thus it
would try to read the size parameter also when removing disks.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/cmdlib.py