From dca85b309a0a82e9993a345964d0831ab2876fb4 Mon Sep 17 00:00:00 2001 From: Josh Bialkowski Date: Wed, 18 Dec 2019 07:49:49 -0800 Subject: repair after rebase --- bridge/jira/export.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bridge/jira/export.go') diff --git a/bridge/jira/export.go b/bridge/jira/export.go index 238252ee..f2b9d507 100644 --- a/bridge/jira/export.go +++ b/bridge/jira/export.go @@ -43,7 +43,8 @@ type jiraExporter struct { } // Init . -func (self *jiraExporter) Init(conf core.Configuration) error { +func (self *jiraExporter) Init(repo *cache.RepoCache, + conf core.Configuration) error { self.conf = conf self.identityClient = make(map[entity.Id]*Client) self.cachedOperationIDs = make(map[entity.Id]string) @@ -171,7 +172,7 @@ func (self *jiraExporter) exportBug( author := snapshot.Author // skip bug if it was imported from some other bug system - origin, ok := snapshot.GetCreateMetadata(core.KeyOrigin) + origin, ok := snapshot.GetCreateMetadata(core.MetaKeyOrigin) if ok && origin != target { out <- core.NewExportNothing( b.Id(), fmt.Sprintf("issue tagged with origin: %s", origin)) -- cgit