]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/lc: Fix a bug in LCOpAction_Transition::check() 60020/head
authorSoumya Koduri <skoduri@redhat.com>
Fri, 27 Sep 2024 07:42:56 +0000 (13:12 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Mon, 30 Sep 2024 06:04:00 +0000 (11:34 +0530)
commita2b2eac03677687d0c9b2d8b16fb0d52a4ea7d9a
treea0c89cd93ca18be47938aaf0ffe7c40c1be4b821
parent4df972a1a005015d621b0f0ada61e02eb76c86ed
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>
src/rgw/rgw_lc.h