Refactor the watcher dashboard enable file

We should refactor the watcher dashboard enable file, and this will keep
watcher more consist with horizon

Change-Id: Ia4cf981b10adcb0d8f3893b755c1a90fd267c491
This commit is contained in:
Yumeng_Bao 2017-02-04 20:11:45 +08:00
parent a941e29a34
commit da5cda0f99
11 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ function install_watcher_dashboard {
}
function configure_watcher_dashboard {
cp -a ${WATCHER_DASHBOARD_DIR}/watcher_dashboard/enabled/* ${DEST}/horizon/openstack_dashboard/local/enabled/
cp -a ${WATCHER_DASHBOARD_DIR}/watcher_dashboard/local/enabled/* ${DEST}/horizon/openstack_dashboard/local/enabled/
cp -a ${WATCHER_DASHBOARD_DIR}/watcher_dashboard/conf/* ${DEST}/horizon/openstack_dashboard/conf/
}

View File

@ -143,7 +143,7 @@ settings_utils.find_static_files(HORIZON_CONFIG, AVAILABLE_THEMES,
dashboard_module_names = [
'openstack_dashboard.enabled',
'openstack_dashboard.local.enabled',
'watcher_dashboard.enabled',
'watcher_dashboard.local.enabled',
]
dashboard_modules = []
# All dashboards must be enabled for the namespace to get registered, which is