Browse Source

Merge "Fix string"

changes/96/685296/1 2.0.0.0rc1
Zuul 2 years ago
committed by Gerrit Code Review
parent
commit
a29ff6890f
  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