aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/launchpad
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-03-28 18:41:14 +0100
committerMichael Muré <batolettre@gmail.com>2020-03-28 18:41:14 +0100
commitaec81b7039effb59ba81383da0682e0937340962 (patch)
treeaf2289fd324f862a8d4de167d86c331b8d90b26f /bridge/launchpad
parent7c04f7fb3afd79d5963b2c451f36e764b8465e2c (diff)
downloadgit-bug-aec81b7039effb59ba81383da0682e0937340962.tar.gz
launchpad: fix a nil value access
Diffstat (limited to 'bridge/launchpad')
-rw-r--r--bridge/launchpad/import.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/launchpad/import.go b/bridge/launchpad/import.go
index 7f528c7d..ce50828b 100644
--- a/bridge/launchpad/import.go
+++ b/bridge/launchpad/import.go
@@ -138,7 +138,7 @@ func (li *launchpadImporter) ImportAll(ctx context.Context, repo *cache.RepoCach
metaKeyLaunchpadID: lpMessage.ID,
})
if err != nil {
- out <- core.NewImportError(err, op.Id())
+ out <- core.NewImportError(err, b.Id())
return
}