about summary refs log tree commit homepage
path: root/lib/PublicInbox/Admin.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Admin.pm')
-rw-r--r--lib/PublicInbox/Admin.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/Admin.pm b/lib/PublicInbox/Admin.pm
index 8a2f2043..29388ad6 100644
--- a/lib/PublicInbox/Admin.pm
+++ b/lib/PublicInbox/Admin.pm
@@ -204,10 +204,10 @@ sub index_inbox {
                         if ($jobs == 0) {
                                 $v2w->{parallel} = 0;
                         } else {
-                                my $n = $v2w->{partitions};
+                                my $n = $v2w->{shards};
                                 if ($jobs != ($n + 1)) {
                                         warn
-"Unable to respect --jobs=$jobs, inbox was created with $n partitions\n";
+"Unable to respect --jobs=$jobs, inbox was created with $n shards\n";
                                 }
                         }
                 }