From c8fdaab50ad022c34ac7926f9f30ced28ba4c682 Mon Sep 17 00:00:00 2001 From: Amine Hilaly Date: Sat, 24 Aug 2019 13:22:23 +0200 Subject: [PATCH] bridge/gitlab: remove gitlab url checking before export --- bridge/gitlab/export.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bridge/gitlab/export.go b/bridge/gitlab/export.go index ee45c41be85e07e1f5c4a702428c3c153b9a2c4e..7cbbf903a8a8c774530d41b9dabacb7bde6736ec 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