diff --git a/prometheus/map.jinja b/prometheus/map.jinja index 419a833..664d62d 100644 --- a/prometheus/map.jinja +++ b/prometheus/map.jinja @@ -35,7 +35,13 @@ {%- if args|length > 0 %} {%- for k,v in args -%} {%- if not k or not v %}{% continue %}{% endif -%} +{%- if v == True -%} + --{{ k }} +{%- elif v == False -%} + --no-{{ k }} +{%- else -%} --{{ k }}={{ v }} +{%- endif -%} {%- if not loop.last %} {% endif -%} {%- endfor -%} {%- endif -%}