From 9d9aaa8948cdd08ced4570a375f87ac015c5b7db Mon Sep 17 00:00:00 2001 From: "Smith, David (ds3330)" Date: Wed, 21 Oct 2020 12:11:42 +0000 Subject: [PATCH] Fix spacing inconsistencies with flags Change-Id: Ia8f7437071a8865f1470412ad616b67a38142719 --- prometheus/Chart.yaml | 2 +- prometheus/templates/utils/_command_line_flags.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prometheus/Chart.yaml b/prometheus/Chart.yaml index 0dfc3cd5b..0f55020ed 100644 --- a/prometheus/Chart.yaml +++ b/prometheus/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v2.12.0 description: OpenStack-Helm Prometheus name: prometheus -version: 0.1.3 +version: 0.1.4 home: https://prometheus.io/ sources: - https://github.com/prometheus/prometheus diff --git a/prometheus/templates/utils/_command_line_flags.tpl b/prometheus/templates/utils/_command_line_flags.tpl index d3437d0c9..bb143f9d9 100644 --- a/prometheus/templates/utils/_command_line_flags.tpl +++ b/prometheus/templates/utils/_command_line_flags.tpl @@ -36,7 +36,7 @@ limitations under the License. {{- $flag := $flag | replace "_" "-" }} {{- if eq $flag "web.enable-admin-api" "web.enable-lifecycle" "storage.tsdb.wal-compression" -}} {{- if $value }} -{{- printf " --%s" $flag -}} +{{- printf "--%s " $flag -}} {{- end -}} {{- else -}} {{- $value := $value | toString }}