mirror of
https://github.com/pgsty/minio.git
synced 2026-10-08 18:55:58 +03:00
fix: print errors only when metacache status has errors (#11248)
This commit is contained in:
+1
-1
@@ -350,7 +350,7 @@ func largeloopcopy(m fluent.Matcher) {
|
||||
m.Match(
|
||||
`for $_, $v := range $_ { $*_ }`,
|
||||
).
|
||||
Where(m["v"].Type.Size > 512).
|
||||
Where(m["v"].Type.Size > 1024).
|
||||
Report(`loop copies large value each iteration`)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user