]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/lc: Fix a bug in LCOpAction_Transition::check()
authorSoumya Koduri <skoduri@redhat.com>
Fri, 27 Sep 2024 07:42:56 +0000 (13:12 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Sun, 26 Jan 2025 18:35:31 +0000 (00:05 +0530)
commit9eb0b5d896423d3ccb1027fa0e5348e2c5fac587
treeee7ef91df8d97e6bcb02d6eecbe7882f6defd658
parent845eb881a071a507dce55d47ffdc09978ea65983
rgw/lc: Fix a bug in LCOpAction_Transition::check()

transition.days should be initialized to -1 by default to be able to
correctly process the LC rules which may have `Date` specified.

Fixes: https://tracker.ceph.com/issues/68288
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
(cherry picked from commit a2b2eac03677687d0c9b2d8b16fb0d52a4ea7d9a)
src/rgw/rgw_lc.h