diff options
Diffstat (limited to 'bridge/github')
-rw-r--r-- | bridge/github/export.go | 2 | ||||
-rw-r--r-- | bridge/github/import.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bridge/github/export.go b/bridge/github/export.go index 675ed039..5d1d8661 100644 --- a/bridge/github/export.go +++ b/bridge/github/export.go @@ -90,7 +90,7 @@ func (ge *githubExporter) cacheAllClient(repo *cache.RepoCache) error { } user, err := repo.ResolveIdentityImmutableMetadata(metaKeyGithubLogin, login) - if err == identity.ErrIdentityNotExist { + if entity.IsErrNotFound(err) { continue } if err != nil { diff --git a/bridge/github/import.go b/bridge/github/import.go index 7ccac3fb..a64b7b27 100644 --- a/bridge/github/import.go +++ b/bridge/github/import.go @@ -190,7 +190,7 @@ func (gi *githubImporter) ensureIssue(ctx context.Context, repo *cache.RepoCache if err == nil { return b, nil } - if err != bug.ErrBugNotExist { + if !entity.IsErrNotFound(err) { return nil, err } |