From 1b138b5b9e2d2d2c7a515c0686b41aa724e4c04c Mon Sep 17 00:00:00 2001 From: paulfantom Date: Fri, 13 Apr 2018 17:26:46 +0200 Subject: [PATCH] python 2 and 3 compatibility --- templates/blackbox_exporter.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/blackbox_exporter.service.j2 b/templates/blackbox_exporter.service.j2 index 3c14910..a153319 100644 --- a/templates/blackbox_exporter.service.j2 +++ b/templates/blackbox_exporter.service.j2 @@ -11,7 +11,7 @@ PermissionsStartOnly=true ExecReload=/bin/kill -HUP $MAINPID ExecStart={{ blackbox_exporter_root_dir }}/blackbox_exporter \ --config.file=/etc/blackbox_exporter.yml \ - --web.listen-address={{ blackbox_exporter_web_listen_address }}{% for flag, flag_value in blackbox_exporter_cli_flags.iteritems() %} \ + --web.listen-address={{ blackbox_exporter_web_listen_address }}{% for flag, flag_value in blackbox_exporter_cli_flags.items() %} \ --{{ flag }}={{ flag_value }}{% endfor %} SyslogIdentifier=blackbox_exporter