From 64d3695fdd02fb1952c6bf3247cbd760490263c5 Mon Sep 17 00:00:00 2001 From: Ian Hoang Date: Tue, 8 Aug 2023 16:27:55 -0500 Subject: [PATCH] add fix for pylint Signed-off-by: Ian Hoang --- osbenchmark/metrics.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osbenchmark/metrics.py b/osbenchmark/metrics.py index 7e54910ca..a296db0a0 100644 --- a/osbenchmark/metrics.py +++ b/osbenchmark/metrics.py @@ -281,7 +281,8 @@ def __init__(self, cfg): self._config = cfg self.script_dir = self._config.opts("node", "benchmark.root") self._number_of_shards = self._config.opts("results_publishing", "datastore.number_of_shards", default_value=None, mandatory=False) - self._number_of_replicas = self._config.opts("results_publishing", "datastore.number_of_replicas", default_value=None, mandatory=False) + self._number_of_replicas = self._config.opts("results_publishing", "datastore.number_of_replicas", + default_value=None, mandatory=False) def metrics_template(self): return self._read("metrics-template")