Skip to content

Commit e4df0db

Browse files
committed
Default path is bucket name.
1 parent 16b3d9c commit e4df0db

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hub/src/main/java/cloud/katta/protocols/hub/HubVaultListService.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ public AttributedList<Path> list(final Path directory, final ListProgressListene
7474
default:
7575
throw new VaultException(String.format("Unsupported storage configuration %s", storageProfile.getProtocol().name()));
7676
}
77-
final String bucketPrefix = storageProfile.getBucketPrefix();
78-
final HubUVFVault vault = new HubUVFVault(vaultDto.getId(), String.format("%s%s", bucketPrefix, vaultDto.getId()));
77+
final HubUVFVault vault = new HubUVFVault(vaultDto.getId(), vaultMetadata.storage().getDefaultPath());
7978
registry.add(vault.load(session, prompt));
8079
vaults.add(vault.getHome());
8180
listener.chunk(directory, vaults);

0 commit comments

Comments
 (0)