Verify is public_ssl_attr take place in cluster
To get possibility works with 6.1 environments from master branch, lets check if cluster has attribute 'public_ssl' and if it has, only then try to operate with it Change-Id: I700dab442b2f25e49282d7350de74ff3bde5da54 Related: bp ssl-endpoints
This commit is contained in:
committed by
tatyana-leontovich
parent
096edf9bbd
commit
ed14dbe779
@@ -432,7 +432,8 @@ class FuelWebClient(object):
|
|||||||
if section:
|
if section:
|
||||||
attributes['editable'][section][option]['value'] =\
|
attributes['editable'][section][option]['value'] =\
|
||||||
settings[option]
|
settings[option]
|
||||||
if help_data.DISABLE_SSL:
|
is_ssl_available = attributes['editable'].get('public_ssl', None)
|
||||||
|
if help_data.DISABLE_SSL and is_ssl_available:
|
||||||
attributes['editable']['public_ssl']['services'][
|
attributes['editable']['public_ssl']['services'][
|
||||||
'value'] = False
|
'value'] = False
|
||||||
attributes['editable']['public_ssl']['horizon'][
|
attributes['editable']['public_ssl']['horizon'][
|
||||||
|
|||||||
Reference in New Issue
Block a user