Skip to content

Commit

Permalink
Rename JoinListWithColon to JoinListWithComma
Browse files Browse the repository at this point in the history
  • Loading branch information
alraddarla authored and alanmeadows committed Jan 29, 2017
1 parent 0cf9463 commit d18f333
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cinder/templates/etc/_cinder.conf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ api_paste_config = /etc/cinder/api-paste.ini
glance_api_servers = "{{ .Values.glance.proto }}://{{ .Values.glance.host }}:{{ .Values.glance.port }}"
glance_api_version = {{ .Values.glance.version }}

enabled_backends = {{ include "joinListWithColon" .Values.backends.enabled }}
enabled_backends = {{ include "joinListWithComma" .Values.backends.enabled }}

auth_strategy = keystone
os_region_name = {{ .Values.keystone.cinder_region_name }}
Expand Down
2 changes: 1 addition & 1 deletion common/templates/_funcs.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- define "joinListWithColon" -}}
{{- define "joinListWithComma" -}}
{{ range $k, $v := . }}{{ if $k }},{{ end }}{{ $v }}{{ end }}
{{- end -}}

Expand Down
6 changes: 3 additions & 3 deletions common/templates/snippets/_k8s_init_dep_check.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
},
{
"name": "DEPENDENCY_SERVICE",
"value": "{{ include "joinListWithColon" $deps.service }}"
"value": "{{ include "joinListWithComma" $deps.service }}"
},
{
"name": "DEPENDENCY_JOBS",
"value": "{{ include "joinListWithColon" $deps.jobs }}"
"value": "{{ include "joinListWithComma" $deps.jobs }}"
},
{
"name": "DEPENDENCY_DAEMONSET",
"value": "{{ include "joinListWithColon" $deps.daemonset }}"
"value": "{{ include "joinListWithComma" $deps.daemonset }}"
},
{
"name": "COMMAND",
Expand Down
8 changes: 4 additions & 4 deletions neutron/templates/etc/_ml2-conf.ini.tpl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[ml2]
# Changing type_drivers after bootstrap can lead to database inconsistencies
type_drivers = {{ include "joinListWithColon" .Values.ml2.type_drivers }}
type_drivers = {{ include "joinListWithComma" .Values.ml2.type_drivers }}
tenant_network_types = {{ .Values.ml2.tenant_network_types }}
mechanism_drivers = {{ include "joinListWithColon" .Values.ml2.mechanism_drivers }}
mechanism_drivers = {{ include "joinListWithComma" .Values.ml2.mechanism_drivers }}

[ml2_type_flat]
flat_networks = {{ include "joinListWithColon" .Values.ml2.ml2_type_flat.flat_networks }}
flat_networks = {{ include "joinListWithComma" .Values.ml2.ml2_type_flat.flat_networks }}

[ml2_type_gre]
# (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges
Expand Down Expand Up @@ -35,7 +35,7 @@ arp_responder = false
{{- end }}

[ovs]
bridge_mappings = {{ include "joinListWithColon" .Values.ml2.ovs.bridge_mappings }}
bridge_mappings = {{ include "joinListWithComma" .Values.ml2.ovs.bridge_mappings }}
tenant_network_type = {{ .Values.ml2.agent.tunnel_types }}

[vxlan]
Expand Down

0 comments on commit d18f333

Please sign in to comment.