Skip to content

Commit 7ee0539

Browse files
authored
Merge pull request ceph#60020 from soumyakoduri/wip-skoduri-lc-process
rgw/lc: Fix a bug in LCOpAction_Transition::check() Reviewed-by: Matt Benjamin <[email protected]>
2 parents 49a7596 + a2b2eac commit 7ee0539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rgw/rgw_lc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ struct transition_action
469469
int days;
470470
boost::optional<ceph::real_time> date;
471471
std::string storage_class;
472-
transition_action() : days(0) {}
472+
transition_action() : days(-1) {}
473473
void dump(Formatter *f) const {
474474
if (!date) {
475475
f->dump_int("days", days);

0 commit comments

Comments
 (0)