Skip to content

Commit 6a02149

Browse files
committed
feat if result
1 parent 6043820 commit 6a02149

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

charts/nginx-gateway-fabric/templates/_helpers.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,7 @@ Filters out empty fields from a struct.
102102
{{- $result = merge $result (dict $key $value) }}
103103
{{- end }}
104104
{{- end }}
105+
{{- if $result }}
106+
{{- $result | toYaml }}
107+
{{- end }}
105108
{{- end }}

0 commit comments

Comments
 (0)