Code refactoring - StrategyContext and Auditendpoint
This patchset aim to remove useless code in StrategyContext and AuditEndPoint. This patchset also add a parameter for strategy context to define the numbers of thread of execute the strategies. DocImpact Change-Id: I83e87165b03b42fe6b863921502a300bd94d2982
This commit is contained in:
@@ -41,9 +41,10 @@ CONF.register_group(goals_opt_group)
|
||||
CONF.register_opts(WATCHER_GOALS_OPTS, goals_opt_group)
|
||||
|
||||
|
||||
class StrategySelector(BaseSelector):
|
||||
class DefaultStrategySelector(BaseSelector):
|
||||
|
||||
def __init__(self):
|
||||
super(DefaultStrategySelector, self).__init__()
|
||||
self.strategy_loader = DefaultStrategyLoader()
|
||||
|
||||
def define_from_goal(self, goal_name):
|
||||
|
||||
Reference in New Issue
Block a user