You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2019/06/30 10:32:51 UTC
[incubator-openwhisk] 02/03: Fix var->val.
This is an automated email from the ASF dual-hosted git repository.
dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
commit 162a4608fa6280bb275136e1af9a9c08bd96023a
Author: Rodric Rabbah <ro...@gmail.com>
AuthorDate: Thu Jun 27 00:35:14 2019 -0400
Fix var->val.
---
.../main/scala/org/apache/openwhisk/core/controller/WebActions.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/controller/src/main/scala/org/apache/openwhisk/core/controller/WebActions.scala b/core/controller/src/main/scala/org/apache/openwhisk/core/controller/WebActions.scala
index c785f09..d910442 100644
--- a/core/controller/src/main/scala/org/apache/openwhisk/core/controller/WebActions.scala
+++ b/core/controller/src/main/scala/org/apache/openwhisk/core/controller/WebActions.scala
@@ -483,7 +483,7 @@ trait WhiskWebActionsApi
provide(fullyQualifiedActionName(actionName)) { fullActionName =>
onComplete(verifyWebAction(fullActionName, onBehalfOf.isDefined)) {
case Success((actionOwnerIdentity, action)) =>
- var requiredAuthOk =
+ val requiredAuthOk =
requiredWhiskAuthSuccessful(action.annotations, context.headers).getOrElse(true)
if (!requiredAuthOk) {
logging.debug(