This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new e3b811f  Update Example (Shell Script) (#4895)
e3b811f is described below

commit e3b811fc3998c88dea66e359e84d2ec61e83190d
Author: Kyouhei Hayama <[email protected]>
AuthorDate: Fri May 1 05:30:39 2020 +0900

    Update Example (Shell Script) (#4895)
    
    "read ARGS" does not work for web action, this is modified with "ARGS=$@".
---
 docs/actions-docker.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/actions-docker.md b/docs/actions-docker.md
index e078d93..4e35b82 100644
--- a/docs/actions-docker.md
+++ b/docs/actions-docker.md
@@ -230,7 +230,7 @@ When the process ends, the last line of text output to 
`stdout` will be parsed a
 
 ```
 #!/bin/bash
-read ARGS
+ARGS=$@
 NAME=`echo "$ARGS" | jq -r '."name"'`
 DATE=`date`
 echo "{ \"message\": \"Hello $NAME! It is $DATE.\" }"

Reply via email to