openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csantan...@apache.org
Subject [incubator-openwhisk-client-js] branch master updated: Update readme.md to fix bug w/ retrieve (#62)
Date Wed, 09 Aug 2017 11:13:23 GMT
This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-client-js.git


The following commit(s) were added to refs/heads/master by this push:
     new 10e2794  Update readme.md to fix bug w/ retrieve (#62)
10e2794 is described below

commit 10e2794498b28e7ced44794de34e8521a60714a6
Author: Raymond Camden <raymondcamden@gmail.com>
AuthorDate: Wed Aug 9 06:13:21 2017 -0500

    Update readme.md to fix bug w/ retrieve (#62)
    
    The example to get an action doesn't work - this change corrects it.
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 36b4a19..27f3740 100644
--- a/README.md
+++ b/README.md
@@ -146,7 +146,7 @@ ow.actions.create({name, action}).then(result => {
 
 ```
 const name = 'reverseWords'
-ow.actions.retrieve({name}).then(action => {
+ow.actions.get(name).then(action => {
   console.log('action resource', action)
 }).catch(err => {
   console.error('failed to retrieve action', err)

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].

Mime
View raw message