Fix style of logOnceIf calls w/unique identifiers (#17631)

This commit is contained in:
Kaan Kabalak
2023-07-11 23:17:45 +03:00
committed by GitHub
parent 82075e8e3a
commit f64d62b01d
7 changed files with 10 additions and 10 deletions

View File

@@ -1343,7 +1343,7 @@ func (z *erasureServerPools) ListObjects(ctx context.Context, bucket, prefix, ma
merged, err := z.listPath(ctx, &opts)
if err != nil && err != io.EOF {
if !isErrBucketNotFound(err) {
logger.LogOnceIf(ctx, err, "erasure-list-objects-path"+bucket)
logger.LogOnceIf(ctx, err, "erasure-list-objects-path-"+bucket)
}
return loi, err
}