mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-24 22:39:22 +01:00
chore: use typed error and fix missing wraps
This commit is contained in:
@@ -52,7 +52,7 @@ func New(cfg model.Db) (*Client, error) {
|
||||
log.Debug().Msgf("%d entries found in manifest bucket", stats.KeyN)
|
||||
return nil
|
||||
}); err != nil {
|
||||
return nil, errors.Wrap(err, "Cannot count entries in manifest bucket")
|
||||
return nil, errors.Wrap(err, "cannot count entries in manifest bucket")
|
||||
}
|
||||
|
||||
c := &Client{
|
||||
|
||||
Reference in New Issue
Block a user