prometheus: adapt run_in_machines test for new script name (#60226)

This commit is contained in:
Frédéric Péters 2022-01-03 19:37:35 +01:00
parent 8b69b30b98
commit b02a2c19d3
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ def units(ctn):
def run_in_machines(ctn):
for machine in login.machine_names():
r = run(
"systemd-run --wait --pipe -q --machine %s /usr/bin/prometheus-entrouvert-exporter.py --ctn %s"
"systemd-run --wait --pipe -q --machine %s /usr/bin/prometheus-system-exporter.py --ctn %s"
% (machine, machine)
)
current_metrics = text_string_to_metric_families(r)