Allow min-part-hours to be set back to zero

Charm is currently accidentally ignoring
min-hours=0. This patch fixes that.

Closes-Bug: 1570314
Change-Id: I1a71a881009e6ead5d00a72084ce4dea6714bcf2
This commit is contained in:
Edward Hope-Morley 2016-04-14 12:02:22 +01:00
parent a0137cd091
commit aba195e46b
1 changed files with 1 additions and 1 deletions

View File

@ -842,7 +842,7 @@ def update_rings(nodes=[], min_part_hours=None):
balance_required = False
if min_part_hours:
if min_part_hours is not None:
# NOTE: no need to stop the proxy since we are not changing the rings,
# only the builder.