You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/04/21 09:34:26 UTC
[GitHub] markusthoemmes commented on a change in pull request #3416: Unit
test PoolingRestClient
markusthoemmes commented on a change in pull request #3416: Unit test PoolingRestClient
URL: https://github.com/apache/incubator-openwhisk/pull/3416#discussion_r183205391
##########
File path: common/scala/src/main/scala/whisk/http/PoolingRestClient.scala
##########
@@ -131,7 +108,7 @@ class PoolingRestClient(
}
// Runs a request and returns either a JsObject, or a StatusCode if not 2xx.
- protected def requestJson[T: RootJsonReader](futureRequest: Future[HttpRequest]): Future[Either[StatusCode, T]] = {
+ def requestJson[T: RootJsonReader](futureRequest: Future[HttpRequest]): Future[Either[StatusCode, T]] = {
Review comment:
I can't put a comment there, so leaving it here:
Would it make sense to rename `request0` to `request`? Not sure why it was `request0` in the first place and I think from an interface standpoint `request` makes sense? WDYT?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services