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.
master
Krishnan Parthasarathi 8 years ago committed by Harshavardhana
parent 9d6e226692
commit 181e002c56
  1. 1
      pkg/madmin/heal-commands.go

@ -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…
Cancel
Save