FANNG1 commented on code in PR #5495:
URL: https://github.com/apache/gravitino/pull/5495#discussion_r1831976700
##########
iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/rest/IcebergTableOperations.java:
##########
@@ -82,7 +82,7 @@ public class IcebergTableOperations {
private ObjectMapper icebergObjectMapper;
private IcebergTableOperationDispatcher tableOperationDispatcher;
- @Context private HttpServletRequest httpRequest;
+ @Inject private Provider<HttpServletRequest> httpRequest;
Review Comment:
`TestTableOperations` failed because httpRequest is null , I try to fix
the test failure by using `Inject`, but still not fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]