mirror of https://github.com/knative/docs.git
content tab fixes, added success output for kn func (#6367)
This commit is contained in:
parent
f73fceed34
commit
249fa274f0
|
@ -16,7 +16,7 @@ The `run` command builds an image for your function if required, and runs this i
|
|||
func run [--registry <registry>]
|
||||
```
|
||||
|
||||
!!! note
|
||||
!!! note
|
||||
The coordinates for the **image registry** can be configured through an environment variable (`FUNC_REGISTRY`) as well.
|
||||
|
||||
Using this command also builds the function if necessary.
|
||||
|
@ -67,13 +67,7 @@ You can verify that your function has been successfully run by using the `invoke
|
|||
func invoke
|
||||
```
|
||||
|
||||
=== "kn func"
|
||||
|
||||
```bash
|
||||
kn func invoke
|
||||
```
|
||||
|
||||
!!! Success "Expected output"
|
||||
!!! Success "Expected output"
|
||||
```{ .bash .no-copy }
|
||||
Received response
|
||||
POST / HTTP/1.1 hello.default.127.0.0.1.sslip.io
|
||||
|
@ -88,3 +82,15 @@ You can verify that your function has been successfully run by using the `invoke
|
|||
X-Forwarded-Proto: http
|
||||
Body:
|
||||
```
|
||||
|
||||
|
||||
=== "kn func"
|
||||
|
||||
```bash
|
||||
kn func invoke
|
||||
```
|
||||
|
||||
!!! Success "Expected output"
|
||||
```{ .bash .no-copy }
|
||||
INFO:root:OK: Request Received
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue