Skip to content
Snippets Groups Projects
Commit 67172068 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

v2.3.9 - argument name fix

parent 23a72f4d
No related branches found
No related tags found
No related merge requests found
......@@ -16,11 +16,11 @@ class CounterMetric(EmbeddedSubmetrics):
CLASS_NAME = 'counter'
def __init__(self, name, root_metric: 'Metric' = None, metric_level: str = None,
sum_childen: bool = True,
sum_children: bool = True,
count_calls: bool = False, *args, **kwargs):
super().__init__(name, root_metric, metric_level, sum_childen=sum_childen,
super().__init__(name, root_metric, metric_level, sum_childen=sum_children,
count_calls=count_calls, *args, **kwargs)
self.sum_children = sum_childen
self.sum_children = sum_children
self.count_calls = count_calls
self.calls = 0
self.value = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment