Skip to content

Commit 4fb7967

Browse files
Remove double negative in factory resolution check
1 parent 7c7e257 commit 4fb7967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalogHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ protected void initializeCatalog() {
222222
Instance<ExternalCatalogFactory> externalCatalogFactory =
223223
externalCatalogFactories.select(
224224
Identifier.Literal.of(connectionType.getFactoryIdentifier()));
225-
if (!externalCatalogFactory.isUnsatisfied()) {
225+
if (externalCatalogFactory.isResolvable()) {
226226
federatedCatalog =
227227
externalCatalogFactory
228228
.get()

0 commit comments

Comments
 (0)