diff --git a/cmd/storage-rest-client.go b/cmd/storage-rest-client.go index bc3aa4d93..3a508fc02 100644 --- a/cmd/storage-rest-client.go +++ b/cmd/storage-rest-client.go @@ -335,7 +335,7 @@ func (client *storageRESTClient) CheckParts(volume, path string, fi FileInfo) er return err } - respBody, err := client.call(storageRESTMethodWriteMetadata, values, &reader, -1) + respBody, err := client.call(storageRESTMethodCheckParts, values, &reader, -1) defer http.DrainBody(respBody) return err }