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.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/PublicInbox/Admin.pm b/lib/PublicInbox/Admin.pm
index 2b25cf01..e9fb5d6f 100644
--- a/lib/PublicInbox/Admin.pm
+++ b/lib/PublicInbox/Admin.pm
@@ -61,7 +61,7 @@ sub detect_indexlevel ($) {
                         $l = $m;
                 } elsif ($m ne '') {
                         warn <<"";
-$ibx->{mainrepo} has unexpected indexlevel in Xapian: $m
+$ibx->{inboxdir} has unexpected indexlevel in Xapian: $m
 
                 }
         }
@@ -74,7 +74,7 @@ sub unconfigured_ibx ($$) {
         PublicInbox::Inbox->new({
                 name => $name,
                 address => [ "$name\@example.com" ],
-                mainrepo => $dir,
+                inboxdir => $dir,
                 # TODO: consumers may want to warn on this:
                 #-unconfigured => 1,
         });
@@ -101,12 +101,12 @@ sub resolve_inboxes ($;$) {
                 $cfg->each_inbox(sub {
                         my ($ibx) = @_;
                         $ibx->{version} ||= 1;
-                        my $path = abs_path($ibx->{mainrepo});
+                        my $path = abs_path($ibx->{inboxdir});
                         if (defined($path)) {
                                 $dir2ibx{$path} = $ibx;
                         } else {
                                 warn <<EOF;
-W: $ibx->{name} $ibx->{mainrepo}: $!
+W: $ibx->{name} $ibx->{inboxdir}: $!
 EOF
                         }
                 });