diff options
author | Amine Hilaly <hilalyamine@gmail.com> | 2019-07-17 22:41:42 +0200 |
---|---|---|
committer | Amine Hilaly <hilalyamine@gmail.com> | 2019-07-23 17:18:04 +0200 |
commit | ce3a2788ab3bc9f205bcc27b03355155d641c2f4 (patch) | |
tree | 6565bce7af28395e0a244e363b387865bc85e557 /bridge/gitlab/import.go | |
parent | 05a3aec1a89f1b8c56a464558bbe39f96a42b267 (diff) | |
download | git-bug-ce3a2788ab3bc9f205bcc27b03355155d641c2f4.tar.gz |
bridge/gitlab: fix note error handling bug
bridge/gitlab: remove unused functions
Diffstat (limited to 'bridge/gitlab/import.go')
-rw-r--r-- | bridge/gitlab/import.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/gitlab/import.go b/bridge/gitlab/import.go index d94dbe2e..93ad8570 100644 --- a/bridge/gitlab/import.go +++ b/bridge/gitlab/import.go @@ -137,7 +137,7 @@ func (gi *gitlabImporter) ensureNote(repo *cache.RepoCache, b *cache.BugCache, n } hash, errResolve := b.ResolveOperationWithMetadata(keyGitlabId, id) - if err != nil && err != cache.ErrNoMatchingOp { + if errResolve != cache.ErrNoMatchingOp { return err } |