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 2022/11/08 18:06:45 UTC

[GitHub] [openwhisk] bdoyle0182 commented on a diff in pull request #5351: Add cors headers to components' server admin routes

bdoyle0182 commented on code in PR #5351:
URL: https://github.com/apache/openwhisk/pull/5351#discussion_r1016962570


##########
core/invoker/src/main/scala/org/apache/openwhisk/core/invoker/FPCInvokerReactive.scala:
##########
@@ -390,7 +390,7 @@ class FPCInvokerReactive(config: WhiskConfig,
 
   override def getPoolState(): Future[Either[NotSupportedPoolState, TotalContainerPoolState]] = {
     implicit val timeout: Timeout = 5.seconds
-    (pool ? GetState).mapTo[TotalContainerPoolState].map(Right(_))
+    (pool ? GetPoolState).mapTo[TotalContainerPoolState].map(Right(_))

Review Comment:
   I was getting a compilation error for this locally due to two `GetState` types in the repo so I aliased it for now



-- 
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-unsubscribe@openwhisk.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org