integ/ceph/ceph
Erickson Silva de Oliveira 2737967430 Fix use of ceph_mgr_lifecycle_days variable
The change [1] added a syntax issue where it was not
possible to use the variable ceph_mgr_lifecycle_days.

Analyzing the code, it was possible to observe that
the ceph_mgr_lifecycle_days variable is part of the
Config class, not of the ServiceMonitor.

So to fix the problem, just replace the use of
'self' with CONFIG.

Test Plan:
  PASS: AIO-SX fresh install
  PASS: Notice that there are no errors in the
        log /var/log/mgr-restful-plugin.log

Closes-Bug: 2023553

[1]: https://review.opendev.org/c/starlingx/integ/+/885881

Change-Id: Icb46f1589057607e24123b69e9ab44994580585a
Signed-off-by: Erickson Silva de Oliveira <Erickson.SilvadeOliveira@windriver.com>
2023-07-05 13:50:44 +00:00
..
centos Merge "Enable generation of Ceph's Python 3 packages" 2022-01-21 00:26:05 +00:00
debian Present the correct version of ceph 2023-06-23 14:19:04 +00:00
files Fix use of ceph_mgr_lifecycle_days variable 2023-07-05 13:50:44 +00:00