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:
Andreas Jaeger 2019-09-25 08:16:59 +02:00
parent ac675141f0
commit 568be3035f
1 changed files with 2 additions and 2 deletions

View File

@ -85,8 +85,8 @@ def validate_cluster_creating(pctx, cluster):
zk_count = _get_inst_count(cluster, 'zookeeper')
if zk_count > 0 and (zk_count % 2) != 1:
raise ex.InvalidComponentCountException(
'zookeeper', _('odd'), zk_count, _('Number of zookeeper nodes'
'should be in odd.'))
'zookeeper', _('odd'), zk_count, _('Number of zookeeper nodes '
'should be odd.'))
def validate_additional_ng_scaling(cluster, additional):