mirror of https://github.com/minio/minio.git
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.
|
||||
case uploadStatCh <- UploadInfo{
|
||||
Key: upload.Key,
|
||||
UploadID: upload.UploadID,
|
||||
Initiated: upload.Initiated,
|
||||
HealUploadInfo: upload.HealUploadInfo,
|
||||
}:
|
||||
|
|
Loading…
Reference in New Issue