This is an automated email from the ASF dual-hosted git repository.
adutra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new 270e64447 Remove readEntity() call (#3111)
270e64447 is described below
commit 270e6444718bd203503ec3d18303273aeb46f4c7
Author: Alexandre Dutra <[email protected]>
AuthorDate: Tue Nov 25 16:06:57 2025 +0100
Remove readEntity() call (#3111)
Calling readEntity() is not allowed server-side by some HTTP servers.
---
.../catalog/iceberg/IcebergRestConfigurationEventServiceDelegator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergRestConfigurationEventServiceDelegator.java
b/runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergRestConfigurationEventServiceDelegator.java
index 55b563e3c..eb7905cb0 100644
---
a/runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergRestConfigurationEventServiceDelegator.java
+++
b/runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergRestConfigurationEventServiceDelegator.java
@@ -46,7 +46,7 @@ public class IcebergRestConfigurationEventServiceDelegator
new IcebergRestCatalogEvents.BeforeGetConfigEvent(warehouse));
Response resp = delegate.getConfig(warehouse, realmContext,
securityContext);
polarisEventListener.onAfterGetConfig(
- new
IcebergRestCatalogEvents.AfterGetConfigEvent(resp.readEntity(ConfigResponse.class)));
+ new IcebergRestCatalogEvents.AfterGetConfigEvent((ConfigResponse)
resp.getEntity()));
return resp;
}
}