diff options
author | Michael Muré <batolettre@gmail.com> | 2020-02-08 22:04:51 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-02-08 22:04:51 +0100 |
commit | a335725cc5f712f3f3089154afa96881284d4853 (patch) | |
tree | 6194bc6813820ef2f1504efdc3d46b289a49e10e /bridge/core | |
parent | 8773929f963b847841fac0d3c42d6278de69b79c (diff) | |
download | git-bug-a335725cc5f712f3f3089154afa96881284d4853.tar.gz |
bridge: fix wrong error used
Diffstat (limited to 'bridge/core')
-rw-r--r-- | bridge/core/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/core/config.go b/bridge/core/config.go index adee5f08..8d306ef6 100644 --- a/bridge/core/config.go +++ b/bridge/core/config.go @@ -19,7 +19,7 @@ func FinishConfig(repo *cache.RepoCache, metaKey string, login string) error { // if a default user exist, tag it with the login user, err := repo.GetUserIdentity() - if err != nil && err != identity.ErrIdentityNotExist { + if err != nil && err != identity.ErrNoIdentitySet { // real error return err } |