From c809d37152ea87a66fc281730042dcb4299a8263 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Tue, 13 Aug 2019 16:02:13 +0200 Subject: more hash-->id fixes --- bridge/gitlab/import.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/gitlab/import.go') diff --git a/bridge/gitlab/import.go b/bridge/gitlab/import.go index 08e4c6eb..f65aba6a 100644 --- a/bridge/gitlab/import.go +++ b/bridge/gitlab/import.go @@ -132,7 +132,7 @@ func (gi *gitlabImporter) ensureNote(repo *cache.RepoCache, b *cache.BugCache, n gitlabID := parseID(note.ID) id, errResolve := b.ResolveOperationWithMetadata(keyGitlabId, gitlabID) - if errResolve != cache.ErrNoMatchingOp { + if errResolve != nil && errResolve != cache.ErrNoMatchingOp { return errResolve } -- cgit