mirror of
https://github.com/openfaas/faas.git
synced 2025-06-15 19:56:47 +00:00
flag should be '-g' or '--gateway'
Signed-off-by: cc <herochinese.cc@gmail.com>
This commit is contained in:
parent
f17fa618cb
commit
c118e691f8
@ -134,7 +134,7 @@ $ faas-cli list -f samples.yml
|
||||
|
||||
or
|
||||
|
||||
$ faas-cli list --g http://127.0.0.1:31112
|
||||
$ faas-cli list -g http://127.0.0.1:31112
|
||||
Function Invocations Replicas
|
||||
inception 0 1
|
||||
nodejs-echo 0 1
|
||||
@ -146,7 +146,7 @@ stronghash 2 1
|
||||
Invoke a function:
|
||||
|
||||
```
|
||||
$ echo -n "Test" | faas-cli invoke stronghash --g http://127.0.0.1:31112
|
||||
$ echo -n "Test" | faas-cli invoke stronghash -g http://127.0.0.1:31112
|
||||
c6ee9e33cf5c6715a1d148fd73f7318884b41adcb916021e2bc0e800a5c5dd97f5142178f6ae88c8fdd98e1afb0ce4c8d2c54b5f37b30b7da1997bb33b0b8a31 -
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user