Skip to content

Commit

Permalink
HDDS-4537. Remove refreshPipeline in listKeys. (apache#1660)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharatviswa504 committed Dec 8, 2020
1 parent 4669043 commit 9ae2a3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ public List<OmKeyInfo> listKeys(String volumeName, String bucketName,

List<OmKeyInfo> keyList = metadataManager.listKeys(volumeName, bucketName,
startKey, keyPrefix, maxKeys);
refreshPipeline(keyList);

return keyList;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ private ListKeysResponse listKeys(ListKeysRequest request)
request.getPrefix(),
request.getCount());
for (OmKeyInfo key : keys) {
resp.addKeyInfo(key.getProtobuf());
resp.addKeyInfo(key.getProtobuf(true));
}

return resp.build();
Expand Down

0 comments on commit 9ae2a3c

Please sign in to comment.