IMAGES_ALLOW_LOCATION Wrongly Templated As String

In the template file horizon_local_settings.py.j2, the
IMAGES_ALLOW_LOCATION value is being set as a string, when it should
be a bool.

Change-Id: I6589fe93abab76243d30136babaa7b1e95989243
Closes-Bug: 1727438
This commit is contained in:
Byron McCollum 2017-10-25 11:54:49 -05:00
parent 4bd6334e90
commit 941398b22c

View File

@ -368,7 +368,7 @@ HORIZON_IMAGES_UPLOAD_MODE = '{{ horizon_images_upload_mode }}'
# Allow a location to be set when creating or updating Glance images. # Allow a location to be set when creating or updating Glance images.
# If using Glance V2, this value should be False unless the Glance # If using Glance V2, this value should be False unless the Glance
# configuration and policies allow setting locations. # configuration and policies allow setting locations.
IMAGES_ALLOW_LOCATION = '{{ horizon_images_allow_location }}' IMAGES_ALLOW_LOCATION = {{ horizon_images_allow_location }}
# OPENSTACK_ENDPOINT_TYPE specifies the endpoint type to use for the endpoints # OPENSTACK_ENDPOINT_TYPE specifies the endpoint type to use for the endpoints
# in the Keystone service catalog. Use this setting when Horizon is running # in the Keystone service catalog. Use this setting when Horizon is running