Skip to content

Commit

Permalink
fix NPE for getListing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackson-Wang-7 committed Jun 3, 2024
1 parent a8b0124 commit 209f284
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ public boolean createEmptyObject(String key) {
PutObjectInput input =
new PutObjectInput().setBucket(mBucketName).setKey(key).setOptions(metaRequestOptions)
.setContent(stream);
mClient.putObject(input);
return true;
} catch (TosException e) {
LOG.error("Failed to create object: {}", key, e);
Expand Down

0 comments on commit 209f284

Please sign in to comment.