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:
		@@ -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.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user