nastra commented on code in PR #6073: URL: https://github.com/apache/iceberg/pull/6073#discussion_r1008121297
########## core/src/test/java/org/apache/iceberg/rest/TestHTTPClient.java: ########## @@ -219,7 +219,7 @@ private static Item doExecuteRequest( restClient.head(path, headers, onError); return null; case DELETE: - return restClient.delete(path, Item.class, headers, onError); + return restClient.delete(path, Item.class, () -> headers, onError); Review Comment: not sure it's worth adding another overloaded `delete` method in the `RESTClient` just for this case -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org