diff options
| author | Chao Guo <guochao@winhong.com> | 2016-12-15 15:03:10 +0800 |
|---|---|---|
| committer | Chao Guo <guochao@winhong.com> | 2016-12-15 15:03:10 +0800 |
| commit | 96cc4638da4b738767177483a4f2a36106b8e4b5 (patch) | |
| tree | 73fc8bc6bb3fd3e984b0265be7a49c27c5e45074 /docker | |
| parent | f665c5e774605305cf19b2b43832d20fd65c8cc6 (diff) | |
| download | kolla-96cc4638da4b738767177483a4f2a36106b8e4b5.tar.gz kolla-96cc4638da4b738767177483a4f2a36106b8e4b5.zip | |
Trivial fix of horizon image4.0.0.0b2
Fix some incorrect indents
Fix the alphabet order of config functions
Change-Id: Ib11a014141972d4cb06a66ee1289467f344045b9
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/horizon/extend_start.sh | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/docker/horizon/extend_start.sh b/docker/horizon/extend_start.sh index a100a2c94..6c0c037a9 100644 --- a/docker/horizon/extend_start.sh +++ b/docker/horizon/extend_start.sh @@ -76,9 +76,9 @@ function config_manila_ui { } function config_mistral_dashboard { - config_dashboard "${ENABLE_MISTRAL}" \ - "${SITE_PACKAGES}/mistral_dashboard/_50_mistral.py.example" \ - "${SITE_PACKAGES}/openstack_dashboard/local/enabled/_50_mistral.py" + config_dashboard "${ENABLE_MISTRAL}" \ + "${SITE_PACKAGES}/mistral_dashboard/_50_mistral.py.example" \ + "${SITE_PACKAGES}/openstack_dashboard/local/enabled/_50_mistral.py" } function config_neutron_lbaas { @@ -95,6 +95,22 @@ function config_sahara_dashboard { done } +function config_searchlight_ui { + for file in ${SITE_PACKAGES}/searchlight_ui/enabled/_*[^__].py; do + config_dashboard "${ENABLE_SEARCHLIGHT}" \ + "${SITE_PACKAGES}/searchlight_ui/enabled/${file##*/}" \ + "${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}" + done + + config_dashboard "${ENABLE_SEARCHLIGHT}" \ + "${SITE_PACKAGES}searchlight_ui/local_settings.d/_1001_search_settings.py" \ + "${SITE_PACKAGES}/openstack_dashboard/local/local_settings.d/_1001_search_settings.py" + + config_dashboard "${ENABLE_SEARCHLIGHT}" \ + "${SITE_PACKAGES}searchlight_ui/conf/searchlight_policy.json" \ + "${SITE_PACKAGES}/openstack_dashboard/conf/searchlight_policy.json" +} + function config_senlin_dashboard { for file in ${SITE_PACKAGES}/senlin_dashboard/enabled/_*[^__].py; do config_dashboard "${ENABLE_SENLIN}" \ @@ -115,22 +131,6 @@ function config_trove_dashboard { done } -function config_searchlight_ui { - for file in ${SITE_PACKAGES}/searchlight_ui/enabled/_*[^__].py; do - config_dashboard "${ENABLE_SEARCHLIGHT}" \ - "${SITE_PACKAGES}/searchlight_ui/enabled/${file##*/}" \ - "${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}" - done - - config_dashboard "${ENABLE_SEARCHLIGHT}" \ - "${SITE_PACKAGES}searchlight_ui/local_settings.d/_1001_search_settings.py" \ - "${SITE_PACKAGES}/openstack_dashboard/local/local_settings.d/_1001_search_settings.py" - - config_dashboard "${ENABLE_SEARCHLIGHT}" \ - "${SITE_PACKAGES}searchlight_ui/conf/searchlight_policy.json" \ - "${SITE_PACKAGES}/openstack_dashboard/conf/searchlight_policy.json" -} - function config_watcher_dashboard { for file in ${SITE_PACKAGES}/watcher_dashboard/enabled/_*[^__].py; do config_dashboard "${ENABLE_WATCHER}" \ |
