Commit 6083a0f1 authored by Ivan Tyagov's avatar Ivan Tyagov

Ugly fix to provide default.

parent a71f3020
...@@ -38,7 +38,7 @@ parts = ...@@ -38,7 +38,7 @@ parts =
{% set section_id_list = [] -%} {% set section_id_list = [] -%}
[{{ prefix }}request-common] [{{ prefix }}request-common]
<= request-common-base <= request-common-base
config-cluster = {{ parameter_dict['cluster'] }} config-cluster = {{ parameter_dict.get('cluster', 'neo-default') }}
{% set replicas = parameter_dict.get('replicas', 0) -%} {% set replicas = parameter_dict.get('replicas', 0) -%}
config-partitions = {{ dumps(parameter_dict.get('partitions', 12)) }} config-partitions = {{ dumps(parameter_dict.get('partitions', 12)) }}
config-replicas = {{ dumps(replicas) }} config-replicas = {{ dumps(replicas) }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment