HDDS-968. Fix TestObjectPut failures. Contributed by Bharat Viswanadham.

This commit is contained in:
Márton Elek 2019-01-08 14:54:38 +01:00
parent 188bebbe7e
commit 396ffba1aa

View File

@ -118,7 +118,7 @@ public Response put(
OzoneOutputStream output = null;
if (!uploadID.equals("")) {
if (uploadID != null && !uploadID.equals("")) {
// If uploadID is specified, it is a request for upload part
return createMultipartKey(bucketName, keyPath, length,
partNumber, uploadID, body);