diff options
author | Eric Wong <e@80x24.org> | 2021-09-29 00:14:28 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-09-29 02:45:26 +0000 |
commit | e3ea02ed136d99edde51e0da041145b2a55ea83c (patch) | |
tree | 9a809cdd3451fa6ec212a74b381fbf11e3d35d1d /lib/PublicInbox/Inbox.pm | |
parent | b9e7ecbbd53b97cfb9437a27e548d1df15d871b4 (diff) | |
download | public-inbox-e3ea02ed136d99edde51e0da041145b2a55ea83c.tar.gz |
This caused config->repo_objs to not fill in {-repo_objs} properly before starting solver. Reported-by: Kyle Meyer <kyle@kyleam.com> Link: https://public-inbox.org/meta/87o88cqobd.fsf@kyleam.com/ Fixes: 63d7b8ceee55a34 ("daemons: revamp periodic cleanup task")
Diffstat (limited to 'lib/PublicInbox/Inbox.pm')
-rw-r--r-- | lib/PublicInbox/Inbox.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm index c525f4d1..95467d5a 100644 --- a/lib/PublicInbox/Inbox.pm +++ b/lib/PublicInbox/Inbox.pm @@ -30,7 +30,7 @@ sub do_cleanup { my ($ibx) = @_; my $live = git_cleanup($ibx); $ibx->cleanup_shards and $live = 1; - for my $git (@{$ibx->{-repo_objs}}) { + for my $git (@{$ibx->{-repo_objs} // []}) { $live = 1 if $git->cleanup(1); } delete @$ibx{qw(over mm description cloneurl |