Specifically call config_changed which has the restart_on_change decorator
This commit is contained in:
parent
076d380171
commit
3ccb202136
|
@ -13,6 +13,7 @@ from neutron_utils import (
|
|||
get_common_package,
|
||||
)
|
||||
|
||||
from neutron_hooks import config_changed
|
||||
|
||||
CONFIGS = register_configs()
|
||||
|
||||
|
@ -25,9 +26,10 @@ def openstack_upgrade():
|
|||
code to run, otherwise a full service level upgrade will fire
|
||||
on config-changed."""
|
||||
|
||||
do_action_openstack_upgrade(get_common_package(),
|
||||
if do_action_openstack_upgrade(get_common_package(),
|
||||
do_openstack_upgrade,
|
||||
CONFIGS)
|
||||
CONFIGS):
|
||||
config_changed()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue