Fix handling of failures in create instance disks
authorIustin Pop <iustin@google.com>
Mon, 19 Jan 2009 17:22:32 +0000 (17:22 +0000)
committerIustin Pop <iustin@google.com>
Mon, 19 Jan 2009 17:22:32 +0000 (17:22 +0000)
commit7d81697f0e51241a3f9cd70abf25cad0ba32e7e7
treea99e159db7084b6c5552e42ddd40d4af9e260a7d
parentc5e489f7e17b9008593d3d0d90c5724d2ee4f093
Fix handling of failures in create instance disks

Commit 2302 only modified _CreateBlockDevOnPrimary to the new style
result, but _CreateBlockDevOnSecondary was forgotten. After the merger
of the two functions, _CreateBlockDevOnSecondary was taken as template
so we checked against old-style values, thus completely breaking error
handling.

Reviewed-by: imsnah
lib/cmdlib.py