mirror of
https://github.com/minio/minio.git
synced 2026-11-25 23:23:49 +00:00
cleanup ignored static analysis (#16767)
This commit is contained in:
1 parent
3423028713
commit
714283fae2
48 files changed
+182
-261
No files matched your search
+1
-2
@@ -1273,8 +1273,7 @@ func (i *scannerItem) healReplication(ctx context.Context, o ObjectLayer, oi Obj
|
||||
sizeS.replTargetStats[arn] = tgtSizeS
|
||||
}
|
||||
|
||||
switch oi.ReplicationStatus {
|
||||
case replication.Replica:
|
||||
if oi.ReplicationStatus == replication.Replica {
|
||||
sizeS.replicaSize += oi.Size
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user