ningyougang commented on code in PR #5311:
URL: https://github.com/apache/openwhisk/pull/5311#discussion_r948575461
##########
docs/actions-docker.md:
##########
@@ -236,6 +236,18 @@ DATE=`date`
echo "{ \"message\": \"Hello $NAME! It is $DATE.\" }"
```
+For the return result, not only support `dictionary` but also support `array`
+```
+#!/bin/bash
+echo '["a", "b"]''
+```
+
+And support array result for sequence action as well, the first action's array
result can be used as next action's input parameter
+```
+#!/bin/bash
+echo $1
Review Comment:
But there seems to be a bad point here, it implies that any type of
parameter can be received, but my example's exact meaning is, it here just can
accept array type.
--
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]