Fix UpgradeConfig of Disk object regards disk params
authorRené Nussbaumer <rn@google.com>
Tue, 17 Jul 2012 08:18:41 +0000 (10:18 +0200)
committerRené Nussbaumer <rn@google.com>
Tue, 17 Jul 2012 12:56:20 +0000 (14:56 +0200)
commitcce46164516a34708fb352a525ea7ddcd7a62a77
tree142962fae7cb3de0b34508f8e2033a4f7618620c
parent88e1419596e2acb7e635c89dcfc1fc2e0bcef91e
Fix UpgradeConfig of Disk object regards disk params

This bug was found during disk parameter debugging. While looking at the
config some values seem present on the disk parameters, but that's not
expected behaviour. This patch fixes this, and also fixes the "broken"
configs automatically upon masterd restart.

Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/objects.py