mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
fix: CheckParts endpoint call to correct API (#10073)
CheckParts is calling the wrong endpoint, so instead of checking parts, it is writing metadata.
This commit is contained in:
parent
187c3f62df
commit
d84fc58cac
@ -335,7 +335,7 @@ func (client *storageRESTClient) CheckParts(volume, path string, fi FileInfo) er
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
respBody, err := client.call(storageRESTMethodWriteMetadata, values, &reader, -1)
|
respBody, err := client.call(storageRESTMethodCheckParts, values, &reader, -1)
|
||||||
defer http.DrainBody(respBody)
|
defer http.DrainBody(respBody)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user