mirror of
https://github.com/minio/minio.git
synced 2025-04-03 11:20:30 -04:00
pkg/madmin: Set UploadID in ListUploadsHeal (#3945)
Without this fix, `mc admin heal -I` wouldn't be able to heal ongoing uploads. `mc` depends on `ListUploadsHeal` API to identify ongoing uploads to heal given a bucket and an object.
This commit is contained in:
parent
9d6e226692
commit
181e002c56
@ -627,6 +627,7 @@ func (adm *AdminClient) ListUploadsHeal(bucket, prefix string, recursive bool,
|
|||||||
// Send upload info.
|
// Send upload info.
|
||||||
case uploadStatCh <- UploadInfo{
|
case uploadStatCh <- UploadInfo{
|
||||||
Key: upload.Key,
|
Key: upload.Key,
|
||||||
|
UploadID: upload.UploadID,
|
||||||
Initiated: upload.Initiated,
|
Initiated: upload.Initiated,
|
||||||
HealUploadInfo: upload.HealUploadInfo,
|
HealUploadInfo: upload.HealUploadInfo,
|
||||||
}:
|
}:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user