Fix Horizon container starting if Watcher is enabled

When Watcher service is enabled, Horizon container failed to start.
Path to Horizon dashboard files was wrong.
This patch fix it.

Change-Id: I8031612caf7c02e02f1079413ff8e648d1a4ca54
Closes-Bug: #1703971
This commit is contained in:
Bertrand Lallau 2017-07-12 22:07:37 +02:00
parent 48ee3f39e9
commit 11e04d0782
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ function config_trove_dashboard {
function config_watcher_dashboard {
for file in ${SITE_PACKAGES}/watcher_dashboard/enabled/_*[^__].py; do
config_dashboard "${ENABLE_WATCHER}" \
"${SITE_PACKAGES}/watcher_dashboard/enabled/${file##*/}" \
"${SITE_PACKAGES}/watcher_dashboard/local/enabled/${file##*/}" \
"${SITE_PACKAGES}/openstack_dashboard/local/enabled/${file##*/}"
done