aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/bridges.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-10-06 11:55:16 +0200
committerMichael Muré <batolettre@gmail.com>2018-10-06 11:55:16 +0200
commit64133ee5ba4b03e2f7f2f2161b1d551a97bd0d80 (patch)
tree9459d5c83f38441985c003a1a306783c47ddfaf8 /bridge/bridges.go
parent558e149b2524864beff3912f44fdb887edeb7ac5 (diff)
downloadgit-bug-64133ee5ba4b03e2f7f2f2161b1d551a97bd0d80.tar.gz
github: deal with the deleted user case where github return a null actor
Diffstat (limited to 'bridge/bridges.go')
-rw-r--r--bridge/bridges.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/bridges.go b/bridge/bridges.go
index 1ffa74b6..4a0ef9e2 100644
--- a/bridge/bridges.go
+++ b/bridge/bridges.go
@@ -20,8 +20,8 @@ func NewBridge(repo *cache.RepoCache, target string, name string) (*core.Bridge,
// Instantiate a new bridge for a repo, from the combined target and name contained
// in the full name
-func NewBridgeFullName(repo *cache.RepoCache, fullName string) (*core.Bridge, error) {
- return core.NewBridgeFullName(repo, fullName)
+func NewBridgeFromFullName(repo *cache.RepoCache, fullName string) (*core.Bridge, error) {
+ return core.NewBridgeFromFullName(repo, fullName)
}
// Attempt to retrieve a default bridge for the given repo. If zero or multiple