mirror of https://github.com/knative/docs.git
Update proc-running-function.md (#6400)
Undo separeate kn func output for invoke
This commit is contained in:
parent
f87291601d
commit
df22126ac0
|
@ -67,30 +67,24 @@ You can verify that your function has been successfully run by using the `invoke
|
||||||
func invoke
|
func invoke
|
||||||
```
|
```
|
||||||
|
|
||||||
!!! Success "Expected output"
|
|
||||||
```{ .bash .no-copy }
|
|
||||||
Received response
|
|
||||||
POST / HTTP/1.1 hello.default.127.0.0.1.sslip.io
|
|
||||||
User-Agent: Go-http-client/1.1
|
|
||||||
Content-Length: 25
|
|
||||||
Accept-Encoding: gzip
|
|
||||||
Content-Type: application/json
|
|
||||||
K-Proxy-Request: activator
|
|
||||||
X-Request-Id: 9e351834-0542-4f32-9928-3a5d6aece30c
|
|
||||||
Forwarded: for=10.244.0.15;proto=http
|
|
||||||
X-Forwarded-For: 10.244.0.15, 10.244.0.9
|
|
||||||
X-Forwarded-Proto: http
|
|
||||||
Body:
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
=== "kn func"
|
=== "kn func"
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kn func invoke
|
kn func invoke
|
||||||
```
|
```
|
||||||
|
|
||||||
!!! Success "Expected output"
|
!!! Success "Expected output"
|
||||||
```{ .bash .no-copy }
|
```{ .bash .no-copy }
|
||||||
INFO:root:OK: Request Received
|
Received response
|
||||||
```
|
POST / HTTP/1.1 hello.default.127.0.0.1.sslip.io
|
||||||
|
User-Agent: Go-http-client/1.1
|
||||||
|
Content-Length: 25
|
||||||
|
Accept-Encoding: gzip
|
||||||
|
Content-Type: application/json
|
||||||
|
K-Proxy-Request: activator
|
||||||
|
X-Request-Id: 9e351834-0542-4f32-9928-3a5d6aece30c
|
||||||
|
Forwarded: for=10.244.0.15;proto=http
|
||||||
|
X-Forwarded-For: 10.244.0.15, 10.244.0.9
|
||||||
|
X-Forwarded-Proto: http
|
||||||
|
Body:
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue