From ba53500166a85dedb21c8235152c0874bcc6d856 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Wed, 8 May 2019 18:51:06 -0400 Subject: [PATCH] Trying to fix documentation url template --- prometheus/files/exporter.systemd.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/files/exporter.systemd.jinja b/prometheus/files/exporter.systemd.jinja index 9d3a893..a1d7c2f 100644 --- a/prometheus/files/exporter.systemd.jinja +++ b/prometheus/files/exporter.systemd.jinja @@ -1,6 +1,6 @@ [Unit] Description=Prometheus {{ svc }} Exporter -{%- if url is string %} +{%- if url is string and url is not None %} Documentation={{ url }} {%- endif %} Wants=basic.target