upgle commented on code in PR #5229:
URL: https://github.com/apache/openwhisk/pull/5229#discussion_r928474363
##########
common/scala/src/main/scala/org/apache/openwhisk/core/containerpool/ApacheBlockingContainerClient.scala:
##########
@@ -124,13 +129,13 @@ protected class ApacheBlockingContainerClient(hostname:
String,
// Negative contentLength means unknown or overflow. We don't want
to consume in either case.
if (contentLength >= 0) {
- if (contentLength <= maxResponseBytes) {
+ if (contentLength <= maxResponse.toBytes) {
Review Comment:
Yes. Since maxResponse is a ByteSize type, it needs a cast.
```scala
maxResponse: ByteSize,
```
--
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]