commit 7e80dce5d35e93ece18220978073c9f1193fd473
Author: Mustafa Kemal Gilor <email address hidden>
Date: Thu Jun 23 16:13:22 2022 +0300
invoke `hookenv._run_atexit()` when action ends
the registered callbacks for `atexit()` were not executing due to
`_run_atexit()` is not being called, the `ch_core.hookenv._run_atexit()`
function is now explicitly called when action ends. also moved
`ch_core.hookenv._run_atstart()` call to `main()` for consistency.
Closes-bug: #1976169
Signed-off-by: Mustafa Kemal Gilor <email address hidden>
Change-Id: I2b976af908dd6ae6248f405fa6980beef0554be5
Reviewed: https:/ /review. opendev. org/c/openstack /charm- octavia- diskimage- retrofit/ +/847345 /opendev. org/openstack/ charm-octavia- diskimage- retrofit/ commit/ 7e80dce5d35e93e ce18220978073c9 f1193fd473
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 7e80dce5d35e93e ce18220978073c9 f1193fd473
Author: Mustafa Kemal Gilor <email address hidden>
Date: Thu Jun 23 16:13:22 2022 +0300
invoke `hookenv. _run_atexit( )` when action ends
the registered callbacks for `atexit()` were not executing due to hookenv. _run_atexit( )` core.hookenv. _run_atstart( )` call to `main()` for consistency.
`_run_atexit()` is not being called, the `ch_core.
function is now explicitly called when action ends. also moved
`ch_
Closes-bug: #1976169
Signed-off-by: Mustafa Kemal Gilor <email address hidden> e6248f405fa6980 beef0554be5
Change-Id: I2b976af908dd6a