mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
batch: Update job info object on success (#20053)
This commit is contained in:
parent
d592bc0c1c
commit
380233d646
@ -977,8 +977,10 @@ func (ri *batchJobInfo) trackCurrentBucketObject(bucket string, info ObjectInfo,
|
|||||||
ri.mu.Lock()
|
ri.mu.Lock()
|
||||||
defer ri.mu.Unlock()
|
defer ri.mu.Unlock()
|
||||||
|
|
||||||
ri.Bucket = bucket
|
if success {
|
||||||
ri.Object = info.Name
|
ri.Bucket = bucket
|
||||||
|
ri.Object = info.Name
|
||||||
|
}
|
||||||
ri.countItem(info.Size, info.DeleteMarker, success, attempt)
|
ri.countItem(info.Size, info.DeleteMarker, success, attempt)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user