You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2019/12/03 15:28:30 UTC
[openwhisk-runtime-swift] branch rabbah-patch-2 created (now
49552e2)
This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a change to branch rabbah-patch-2
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-swift.git.
at 49552e2 Update for action version.
This branch includes the following new commits:
new 49552e2 Update for action version.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[openwhisk-runtime-swift] 01/01: Update for action version.
Posted by ra...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch rabbah-patch-2
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-swift.git
commit 49552e2cf9ff6111fe1cb994b05c84bee068c179
Author: rodric rabbah <ro...@gmail.com>
AuthorDate: Tue Dec 3 10:28:24 2019 -0500
Update for action version.
See https://github.com/apache/openwhisk/pull/4761.
---
.../scala/runtime/actionContainers/SwiftActionContainerTests.scala | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/src/test/scala/runtime/actionContainers/SwiftActionContainerTests.scala b/tests/src/test/scala/runtime/actionContainers/SwiftActionContainerTests.scala
index 1041af0..1005433 100644
--- a/tests/src/test/scala/runtime/actionContainers/SwiftActionContainerTests.scala
+++ b/tests/src/test/scala/runtime/actionContainers/SwiftActionContainerTests.scala
@@ -110,6 +110,7 @@ abstract class SwiftActionContainerTests extends BasicActionRunnerTests with Wsk
| var b = "???"
| var c = "???"
| var d = "???"
+ | var r = "???"
| var e = "???"
| var f = "???"
| if let v : String = env["__OW_API_HOST"] {
@@ -124,13 +125,16 @@ abstract class SwiftActionContainerTests extends BasicActionRunnerTests with Wsk
| if let v : String = env["__OW_ACTION_NAME"] {
| d = "\(v)"
| }
+ | if let v : String = env["__OW_ACTION_NAME"] {
+ | r = "\(v)"
+ | }
| if let v : String = env["__OW_ACTIVATION_ID"] {
| e = "\(v)"
| }
| if let v : String = env["__OW_DEADLINE"] {
| f = "\(v)"
| }
- | return ["api_host": a, "api_key": b, "namespace": c, "action_name": d, "activation_id": e, "deadline": f]
+ | return ["api_host": a, "api_key": b, "namespace": c, "action_name": d, "action_version": r, "activation_id": e, "deadline": f]
| }
""".stripMargin,
enforceEmptyOutputStream = enforceEmptyOutputStream)