We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The list method in the FakeStorageRpc does not take into account the bucket metadata:
list
FakeStorageRpc
bucket
for (StorageObject so : metadata.values()) { if (!so.getName().startsWith(prefix)) { // <---------- here's the problem continue; } if (processedAsFolder(so, delimiter, prefix, folders)) { continue; } so.setSize(size(so)); values.add(so); }
Technically, just adding an extra check to compare the so.getBucket() with bucket should be enough to resolve the issue.
so.getBucket()
Environment details
Steps to reproduce
Any additional information below
The
listmethod in theFakeStorageRpcdoes not take into account thebucketmetadata:Technically, just adding an extra check to compare the
so.getBucket()withbucketshould be enough to resolve the issue.