diff options
author | Michael Muré <batolettre@gmail.com> | 2019-02-17 16:12:06 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-03-01 22:40:25 +0100 |
commit | 864eae0d6bd0732260c0c56583bb77f9b25b60f6 (patch) | |
tree | b1a0384f2fdb0af0c8aaf0f1b0fbc1c445c418f3 /bridge/github/import.go | |
parent | da558b05ef79f4c80df10c6969a9ae5f4f764f96 (diff) | |
download | git-bug-864eae0d6bd0732260c0c56583bb77f9b25b60f6.tar.gz |
identity: work on higher level now, cache, first two identity commands
Diffstat (limited to 'bridge/github/import.go')
-rw-r--r-- | bridge/github/import.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/github/import.go b/bridge/github/import.go index 43a8e3b5..38278911 100644 --- a/bridge/github/import.go +++ b/bridge/github/import.go @@ -599,7 +599,7 @@ func (gi *githubImporter) ensureCommentEdit(repo *cache.RepoCache, b *cache.BugC } // makePerson create a bug.Person from the Github data -func (gi *githubImporter) makePerson(repo *cache.RepoCache, actor *actor) (*identity.Identity, error) { +func (gi *githubImporter) makePerson(repo *cache.RepoCache, actor *actor) (*cache.IdentityCache, error) { // When a user has been deleted, Github return a null actor, while displaying a profile named "ghost" // in it's UI. So we need a special case to get it. if actor == nil { @@ -645,7 +645,7 @@ func (gi *githubImporter) makePerson(repo *cache.RepoCache, actor *actor) (*iden ) } -func (gi *githubImporter) getGhost(repo *cache.RepoCache) (*identity.Identity, error) { +func (gi *githubImporter) getGhost(repo *cache.RepoCache) (*cache.IdentityCache, error) { // Look first in the cache i, err := repo.ResolveIdentityImmutableMetadata(keyGithubLogin, "ghost") if err == nil { |