add audit parameter to do_execute
The new bp need to get audit type from audit, so we need to add an audit parameter to do_execute Partially Implements: blueprint node-resource-consolidation Change-Id: Ia979781b32202c1821aa1cb91d24253fe6d7bd2d
This commit is contained in:
@@ -413,7 +413,7 @@ class BasicConsolidation(base.ServerConsolidationBaseStrategy):
|
||||
self.aggregation_method['compute_node'] = \
|
||||
self.aggregation_method['node']
|
||||
|
||||
def do_execute(self):
|
||||
def do_execute(self, audit=None):
|
||||
unsuccessful_migration = 0
|
||||
|
||||
scores = self.compute_score_of_nodes()
|
||||
|
||||
Reference in New Issue
Block a user