Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yingjian Wu committed Apr 26, 2024
1 parent 87e0c17 commit 708a5a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public List<QualifiedName> listNames(
@Nullable final Pageable pageable
) {
try {
final String dbPrefix = prefix == null ? "" : name.getDatabaseName();
final String dbPrefix = prefix == null ? "" : prefix.getDatabaseName();
final List<QualifiedName> qualifiedNames = polarisStoreService.getDatabaseNames(
dbPrefix, sort, 1000)
.stream()
Expand All @@ -186,7 +186,7 @@ public List<DatabaseInfo> list(
) {
try {
final PolarisDatabaseMapper mapper = new PolarisDatabaseMapper(name.getCatalogName());
final String dbPrefix = prefix == null ? "" : name.getDatabaseName();
final String dbPrefix = prefix == null ? "" : prefix.getDatabaseName();

final List<PolarisDatabaseEntity> dbs = polarisStoreService.getDatabases(
dbPrefix, sort, 1000
Expand Down

0 comments on commit 708a5a7

Please sign in to comment.