From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 0726C1F9FC for ; Sat, 15 Jun 2019 08:47:23 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 09/20] inboxwritable: s/partitions/shards/ in local var Date: Sat, 15 Jun 2019 08:47:05 +0000 Message-Id: <20190615084716.3075-10-e@80x24.org> In-Reply-To: <20190615084716.3075-1-e@80x24.org> References: <20190615084716.3075-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: More work towards being consistent with Xapian's own terminology --- lib/PublicInbox/InboxWritable.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PublicInbox/InboxWritable.pm b/lib/PublicInbox/InboxWritable.pm index 116f423..f00141d 100644 --- a/lib/PublicInbox/InboxWritable.pm +++ b/lib/PublicInbox/InboxWritable.pm @@ -31,7 +31,7 @@ sub new { } sub init_inbox { - my ($self, $partitions, $skip_epoch, $skip_artnum) = @_; + my ($self, $shards, $skip_epoch, $skip_artnum) = @_; # TODO: honor skip_artnum my $v = $self->{version} || 1; if ($v == 1) { @@ -39,7 +39,7 @@ sub init_inbox { PublicInbox::Import::init_bare($dir); } else { my $v2w = importer($self); - $v2w->init_inbox($partitions, $skip_epoch, $skip_artnum); + $v2w->init_inbox($shards, $skip_epoch, $skip_artnum); } } -- EW