Fix string
This string shows up as "Number of zookeeper nodesshould be in odd.", add missing space and fix grammar. Change-Id: I6d970939734bdcae41b63db9eddd8c174dc7db3c
This commit is contained in:
parent
ac675141f0
commit
568be3035f
|
@ -85,8 +85,8 @@ def validate_cluster_creating(pctx, cluster):
|
||||||
zk_count = _get_inst_count(cluster, 'zookeeper')
|
zk_count = _get_inst_count(cluster, 'zookeeper')
|
||||||
if zk_count > 0 and (zk_count % 2) != 1:
|
if zk_count > 0 and (zk_count % 2) != 1:
|
||||||
raise ex.InvalidComponentCountException(
|
raise ex.InvalidComponentCountException(
|
||||||
'zookeeper', _('odd'), zk_count, _('Number of zookeeper nodes'
|
'zookeeper', _('odd'), zk_count, _('Number of zookeeper nodes '
|
||||||
'should be in odd.'))
|
'should be odd.'))
|
||||||
|
|
||||||
|
|
||||||
def validate_additional_ng_scaling(cluster, additional):
|
def validate_additional_ng_scaling(cluster, additional):
|
||||||
|
|
Loading…
Reference in New Issue