mirror of
https://github.com/minio/minio.git
synced 2025-02-03 01:46:00 -05:00
fix: loadStatsFromDisk() should return nil for configNotFound (#17217)
This commit is contained in:
parent
9a799065b3
commit
413549bcf5
@ -3098,7 +3098,7 @@ func (p *ReplicationPool) loadStatsFromDisk() (rs map[string]BucketReplicationSt
|
||||
|
||||
data, err := readConfig(p.ctx, p.objLayer, getReplicationStatsPath())
|
||||
if err != nil {
|
||||
if !errors.Is(err, errConfigNotFound) {
|
||||
if errors.Is(err, errConfigNotFound) {
|
||||
return rs, nil
|
||||
}
|
||||
return rs, err
|
||||
|
Loading…
x
Reference in New Issue
Block a user