Fix Horizon container starting with Watcher enabled

When Watcher service is enabled, Horizon container failed to start.
Path to Horizon dashboard files was wrong.
Add missing part to previous commit
11e04d0782d32d203830c9c8e40094658cee5cae

Change-Id: I2b2b3a72949d125900fe5b2e1c1de42e2c24c9c3
Closes-Bug: #1703971
This commit is contained in:
Bertrand Lallau 2017-07-13 22:18:57 +02:00
parent 11e04d0782
commit d1936e7b82

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