ningyougang commented on code in PR #5311:
URL: https://github.com/apache/openwhisk/pull/5311#discussion_r948573724


##########
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:
   This is sequence action's second action. can accept the array as input 
parameter, and we can do some sort operation here,
   But here, i just return it directly(don't add sort operation),  just a 
example.



-- 
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]

Reply via email to