fixed read error and updated tests

This commit is contained in:
2024-12-19 11:05:26 +01:00
parent daf52ba3ba
commit 894f2d449e
3 changed files with 10 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ func (db *DB) List(attr *DbAttr) (DbEntries, error) {
return nil
})
return fmt.Errorf("failed to read from DB: %w", err)
return err
})
return entries, err
}