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 appVersion: v2.12.0
description: OpenStack-Helm Prometheus description: OpenStack-Helm Prometheus
name: prometheus name: prometheus
version: 0.1.3 version: 0.1.4
home: https://prometheus.io/ home: https://prometheus.io/
sources: sources:
- https://github.com/prometheus/prometheus - https://github.com/prometheus/prometheus

View File

@ -36,7 +36,7 @@ limitations under the License.
{{- $flag := $flag | replace "_" "-" }} {{- $flag := $flag | replace "_" "-" }}
{{- if eq $flag "web.enable-admin-api" "web.enable-lifecycle" "storage.tsdb.wal-compression" -}} {{- if eq $flag "web.enable-admin-api" "web.enable-lifecycle" "storage.tsdb.wal-compression" -}}
{{- if $value }} {{- if $value }}
{{- printf " --%s" $flag -}} {{- printf "--%s " $flag -}}
{{- end -}} {{- end -}}
{{- else -}} {{- else -}}
{{- $value := $value | toString }} {{- $value := $value | toString }}