diff options
author | Josh Bialkowski <josh.bialkowski@gmail.com> | 2019-12-18 07:49:49 -0800 |
---|---|---|
committer | Josh Bialkowski <josh.bialkowski@gmail.com> | 2019-12-18 12:18:47 -0800 |
commit | dca85b309a0a82e9993a345964d0831ab2876fb4 (patch) | |
tree | e5054a4d122c72a081766c3efd4470b396cf7c24 /bridge/jira/export.go | |
parent | 3384d1b26bea41224c260b1912c51e0564571422 (diff) | |
download | git-bug-dca85b309a0a82e9993a345964d0831ab2876fb4.tar.gz |
repair after rebase
Diffstat (limited to 'bridge/jira/export.go')
-rw-r--r-- | bridge/jira/export.go | 5 |
1 files changed, 3 insertions, 2 deletions
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)) |