diff options
author | Amine Hilaly <hilalyamine@gmail.com> | 2019-08-24 13:22:23 +0200 |
---|---|---|
committer | Amine Hilaly <hilalyamine@gmail.com> | 2019-08-24 13:22:23 +0200 |
commit | c8fdaab50ad022c34ac7926f9f30ced28ba4c682 (patch) | |
tree | bef7d8ed9a574055942ed8f5692d20cd532a5444 /bridge/gitlab/export.go | |
parent | 22960159e9ea97b7eb7dd98611f854622da020f7 (diff) | |
download | git-bug-c8fdaab50ad022c34ac7926f9f30ced28ba4c682.tar.gz |
bridge/gitlab: remove gitlab url checking before export
Diffstat (limited to 'bridge/gitlab/export.go')
-rw-r--r-- | bridge/gitlab/export.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bridge/gitlab/export.go b/bridge/gitlab/export.go index ee45c41b..7cbbf903 100644 --- a/bridge/gitlab/export.go +++ b/bridge/gitlab/export.go @@ -166,14 +166,6 @@ func (ge *gitlabExporter) exportBug(ctx context.Context, b *cache.BugCache, sinc return } - _, ok = snapshot.GetCreateMetadata(keyGitlabUrl) - if !ok { - // if we find gitlab ID, gitlab URL must be found too - err := fmt.Errorf("expected to find gitlab issue URL") - out <- core.NewExportError(err, b.Id()) - return - } - out <- core.NewExportNothing(b.Id(), "bug already exported") // will be used to mark operation related to a bug as exported |