From: Eric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Date: Sun, 1 Apr 2018 23:24:26 +0000 (+0000)
Subject: scripts/import_vger_from_mbox: set address properly
X-Git-Tag: v1.1.0-pre1~79
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=11182cf3e95cf76bbaf3112311cf613755d1a86a;p=public-inbox.git

scripts/import_vger_from_mbox: set address properly

For objects like Inbox; the '-' prefixed hash keys are
probably intended for auto-generated/hidden parameters.
---

diff --git a/scripts/import_vger_from_mbox b/scripts/import_vger_from_mbox
index 369dac79..191f75d6 100644
--- a/scripts/import_vger_from_mbox
+++ b/scripts/import_vger_from_mbox
@@ -29,7 +29,7 @@ my $ibx = {
 	mainrepo => $mainrepo,
 	name => $name,
 	version => $version,
-	-primary_address => $email,
+	address => [ $email ],
 	filter => 'PublicInbox::Filter::Vger',
 };
 $ibx = PublicInbox::Inbox->new($ibx);