]> Sergey Matveev's repositories - public-inbox.git/commitdiff
extsearchidx: attach_config: set {ibx_map} value to $ibx
authorEric Wong <e@80x24.org>
Sat, 2 Oct 2021 11:18:32 +0000 (11:18 +0000)
committerEric Wong <e@80x24.org>
Sat, 2 Oct 2021 20:09:25 +0000 (20:09 +0000)
It doesn't seem to matter, actually, but this matches the
behavior of attach_inbox and the comment in ->new.

lib/PublicInbox/ExtSearchIdx.pm

index f0992e5ea1c1ba5f732de3cda97af5a88620d608..972049e420e2dc7fef1b6108830ecae0a16fdf43 100644 (file)
@@ -89,6 +89,7 @@ sub attach_config {
                        $self->{ibx_map}->{$ibx->eidx_key} //= do {
                                push @{$self->{ibx_active}}, $ibx;
                                push @{$self->{ibx_known}}, $ibx;
+                               $ibx;
                        }
                }
                # invalidate cache