Fix spacing inconsistencies with flags

Change-Id: Ia8f7437071a8865f1470412ad616b67a38142719
This commit is contained in:
Smith, David (ds3330) 2020-10-21 12:11:42 +00:00
parent 738c89b342
commit 9d9aaa8948
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 }}