Skip to content

Commit

Permalink
get_load was changed in the Andes series
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyDevloo committed Jul 3, 2018
1 parent c6aaefd commit eeb2701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovs/extensions/healthcheck/suites/alba.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ def check_nsm_load(cls, result_handler, max_load=None, use_total_capacity=False,
nsm_loads = {}
sorted_nsm_clusters = sorted(alba_backend.nsm_clusters, key=lambda k: k.number)
for nsm_cluster in sorted_nsm_clusters:
nsm_loads[nsm_cluster.number] = AlbaController.get_load(nsm_cluster)
nsm_loads[nsm_cluster.number] = AlbaController._get_load(nsm_cluster)
overloaded = min(nsm_loads.values()) >= max_load
if overloaded is False:
result_handler.success('NSMs for backend {0} are not overloaded'.format(alba_backend.name),
Expand Down

0 comments on commit eeb2701

Please sign in to comment.