提交 854eddce 编写于 作者: M malin10

bug fix

上级 d51dfda0
...@@ -69,8 +69,8 @@ class Metric(object): ...@@ -69,8 +69,8 @@ class Metric(object):
global_metrics = dict() global_metrics = dict()
for key in self._global_metric_state_vars: for key in self._global_metric_state_vars:
varname, dtype = self._global_metric_state_vars[key] varname, dtype = self._global_metric_state_vars[key]
global_metrics[key] = self.get_global_metric_state(fleet, scope, global_metrics[key] = self._get_global_metric_state(fleet, scope,
varname) varname)
return self._calculate(global_metrics) return self._calculate(global_metrics)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册