chore: Fix linter errors

This commit is contained in:
Leander Beernaert
2023-06-05 13:21:07 +02:00
parent fab063f194
commit a8dd52800e
7 changed files with 26 additions and 18 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{}