Browse Source

Fix string

This string shows up as
"Number of zookeeper nodesshould be in odd.", add missing space and fix
grammar.

Change-Id: I6d970939734bdcae41b63db9eddd8c174dc7db3c
changes/18/684518/1
Andreas Jaeger 2 years ago
parent
commit
568be3035f
  1. 4
      sahara_plugin_vanilla/plugins/vanilla/hadoop2/validation.py

4
sahara_plugin_vanilla/plugins/vanilla/hadoop2/validation.py

@ -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):

Loading…
Cancel
Save