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 212d809  Fix wsk action create command in Rust example (#5056)
212d809 is described below

commit 212d809303c984d55839090299f98cf58aed7378
Author: Daniel Hartig <[email protected]>
AuthorDate: Fri Jan 29 07:33:03 2021 -0600

    Fix wsk action create command in Rust example (#5056)
    
    The command given `wsk action create helloRust hello.rs` does not work as 
given, yielding an error message. This can be corrected by specifying the 
action type via `--kind rust:1.34`
---
 docs/actions-rust.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/actions-rust.md b/docs/actions-rust.md
index a4443b2..795c30b 100644
--- a/docs/actions-rust.md
+++ b/docs/actions-rust.md
@@ -64,7 +64,7 @@ the action with the `wsk` CLI using `--main`, as with any 
other action type.
 You can create an OpenWhisk action called `helloRust` from this function as 
follows:
 
 ```
-wsk action create helloRust hello.rs
+wsk action create helloRust --kind rust:1.34 hello.rs
 ```
 The CLI automatically infers the type of the action from the source file 
extension.
 For `.rs` source files, the action runs using a Rust v1.34 runtime.

Reply via email to