diff options
author | Michael Muré <batolettre@gmail.com> | 2018-10-06 11:55:16 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-10-06 11:55:16 +0200 |
commit | 64133ee5ba4b03e2f7f2f2161b1d551a97bd0d80 (patch) | |
tree | 9459d5c83f38441985c003a1a306783c47ddfaf8 /bridge/bridges.go | |
parent | 558e149b2524864beff3912f44fdb887edeb7ac5 (diff) | |
download | git-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.go | 4 |
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 |