Skip to content

Commit

Permalink
add fix for pylint
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Hoang <[email protected]>
  • Loading branch information
Ian Hoang committed Aug 8, 2023
1 parent 6e964bf commit 64d3695
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osbenchmark/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 64d3695

Please sign in to comment.