summaryrefslogtreecommitdiffstats
path: root/python/knot_resolver/client/commands/metrics.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/knot_resolver/client/commands/metrics.py')
-rw-r--r--python/knot_resolver/client/commands/metrics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/knot_resolver/client/commands/metrics.py b/python/knot_resolver/client/commands/metrics.py
index eaf83090..57ff9171 100644
--- a/python/knot_resolver/client/commands/metrics.py
+++ b/python/knot_resolver/client/commands/metrics.py
@@ -44,7 +44,7 @@ class MetricsCommand(Command):
@staticmethod
def completion(args: List[str], parser: argparse.ArgumentParser) -> CompWords:
- return comp_get_words(args, parser._actions) # noqa: SLF001
+ return comp_get_words(args, parser)
def run(self, args: CommandArgs) -> None:
response = request(args.socket, "GET", "metrics/prometheus" if self.prometheus else "metrics/json")