mirror of
https://github.com/openfaas/faas.git
synced 2025-06-13 02:36:46 +00:00
Remove '--name' in faas-cli invoke
Doc can not execute. '--name' is removed.
see:e097301414 (diff-6e522d40e6848a6eeeb12b0ab50cb97d)
Signed-off-by: eiji.ienaga <eiji.ienaga@gmail.com>
This commit is contained in:
parent
7f2a35cd21
commit
b32a3f30ea
@ -18,8 +18,8 @@ $ curl -d "# test" localhost:8080/function/markdown | \
|
||||
You could also do this via code, or through the `faas-cli`:
|
||||
|
||||
```
|
||||
$ echo "test" | faas-cli invoke --name markdown | \
|
||||
faas-cli invoke --name slack
|
||||
$ echo "test" | faas-cli invoke markdown | \
|
||||
faas-cli invoke slack
|
||||
```
|
||||
|
||||
## Server-side access via gateway
|
||||
|
@ -89,8 +89,8 @@ Your function will appear after a few seconds and you can click "Invoke"
|
||||
You can also use the CLI like this:
|
||||
|
||||
```
|
||||
$ echo -n "" | faas-cli invoke --gateway http://kubernetes-ip:31112 --name nodeinfo
|
||||
$ echo -n "verbose" | faas-cli invoke --gateway http://kubernetes-ip:31112 --name nodeinfo
|
||||
$ echo -n "" | faas-cli invoke --gateway http://kubernetes-ip:31112 nodeinfo
|
||||
$ echo -n "verbose" | faas-cli invoke --gateway http://kubernetes-ip:31112 nodeinfo
|
||||
```
|
||||
|
||||
## Asynchronous functions
|
||||
|
Loading…
x
Reference in New Issue
Block a user