chore: Fix linter errors

This commit is contained in:
Leander Beernaert
2023-06-05 13:21:07 +02:00
parent 51315d5d2b
commit 5c606aee73
9 changed files with 40 additions and 42 deletions

View File

@ -53,7 +53,7 @@ func (s *Store) List() (userIDs []string, err error) {
var allUserIDs []string
if allUserIDs, err = s.secrets.List(); err != nil {
log.WithError(err).Error("Could not list credentials")
return
return nil, err
}
credentialList := []*Credentials{}