From 854eddce110f158a45c055b83f32152acd8c3dcc Mon Sep 17 00:00:00 2001 From: malin10 Date: Mon, 3 Aug 2020 17:04:31 +0800 Subject: [PATCH] bug fix --- core/metric.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/metric.py b/core/metric.py index ae91cd6d..12a9ddf7 100755 --- a/core/metric.py +++ b/core/metric.py @@ -69,8 +69,8 @@ class Metric(object): global_metrics = dict() for key in self._global_metric_state_vars: varname, dtype = self._global_metric_state_vars[key] - global_metrics[key] = self.get_global_metric_state(fleet, scope, - varname) + global_metrics[key] = self._get_global_metric_state(fleet, scope, + varname) return self._calculate(global_metrics) -- GitLab