Merge "Fix spacing inconsistencies with flags"

This commit is contained in:
Zuul 2020-10-22 15:39:33 +00:00 committed by Gerrit Code Review
commit a7cfefddb5
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 }}