Uninstall policy.json from openstack_dashboard correctly

During uninstalling masakari using devstack, it fails to remove
policy.json.
This patch fixes this issue by pointing to the correct path of
the policy.json file.

Change-Id: I1b9c009fe4d4305f9b7992c0c46a65ba0bac61a8
This commit is contained in:
niraj singh 2019-01-03 08:33:47 +00:00
parent 4808a2a3d3
commit de79cf7ffc
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ function install_masakaridashboard {
function uninstall_masakaridashboard {
sudo rm -f $DEST/horizon/openstack_dashboard/local/enabled/_50_masakaridashboard.py
sudo rm -f $DEST/horizon/openstack_dashboard/local/local_settings.d/_50_masakari.py
sudo rm -f $DEST/horizon/penstack_dashboard/conf/masakari_policy.json
sudo rm -f $DEST/horizon/openstack_dashboard/conf/masakari_policy.json
restart_apache_server
}