HDDS-968. Fix TestObjectPut failures. Contributed by Bharat Viswanadham.
This commit is contained in:
parent
188bebbe7e
commit
396ffba1aa
@ -118,7 +118,7 @@ public Response put(
|
|||||||
|
|
||||||
OzoneOutputStream output = null;
|
OzoneOutputStream output = null;
|
||||||
|
|
||||||
if (!uploadID.equals("")) {
|
if (uploadID != null && !uploadID.equals("")) {
|
||||||
// If uploadID is specified, it is a request for upload part
|
// If uploadID is specified, it is a request for upload part
|
||||||
return createMultipartKey(bucketName, keyPath, length,
|
return createMultipartKey(bucketName, keyPath, length,
|
||||||
partNumber, uploadID, body);
|
partNumber, uploadID, body);
|
||||||
|
Loading…
Reference in New Issue
Block a user