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:
parent
a941e29a34
commit
da5cda0f99
@ -7,7 +7,7 @@ function install_watcher_dashboard {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function configure_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/
|
cp -a ${WATCHER_DASHBOARD_DIR}/watcher_dashboard/conf/* ${DEST}/horizon/openstack_dashboard/conf/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
0
watcher_dashboard/local/enabled/__init__.py
Normal file
0
watcher_dashboard/local/enabled/__init__.py
Normal file
@ -143,7 +143,7 @@ settings_utils.find_static_files(HORIZON_CONFIG, AVAILABLE_THEMES,
|
|||||||
dashboard_module_names = [
|
dashboard_module_names = [
|
||||||
'openstack_dashboard.enabled',
|
'openstack_dashboard.enabled',
|
||||||
'openstack_dashboard.local.enabled',
|
'openstack_dashboard.local.enabled',
|
||||||
'watcher_dashboard.enabled',
|
'watcher_dashboard.local.enabled',
|
||||||
]
|
]
|
||||||
dashboard_modules = []
|
dashboard_modules = []
|
||||||
# All dashboards must be enabled for the namespace to get registered, which is
|
# All dashboards must be enabled for the namespace to get registered, which is
|
||||||
|
Loading…
Reference in New Issue
Block a user