Skip to content

Commit df22126

Browse files
authored
Update proc-running-function.md (#6400)
Undo separeate kn func output for invoke
1 parent f872916 commit df22126

File tree

1 file changed

+15
-21
lines changed

1 file changed

+15
-21
lines changed

docs/snippets/proc-running-function.md

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -67,30 +67,24 @@ You can verify that your function has been successfully run by using the `invoke
6767
func invoke
6868
```
6969

70-
!!! Success "Expected output"
71-
```{ .bash .no-copy }
72-
Received response
73-
POST / HTTP/1.1 hello.default.127.0.0.1.sslip.io
74-
User-Agent: Go-http-client/1.1
75-
Content-Length: 25
76-
Accept-Encoding: gzip
77-
Content-Type: application/json
78-
K-Proxy-Request: activator
79-
X-Request-Id: 9e351834-0542-4f32-9928-3a5d6aece30c
80-
Forwarded: for=10.244.0.15;proto=http
81-
X-Forwarded-For: 10.244.0.15, 10.244.0.9
82-
X-Forwarded-Proto: http
83-
Body:
84-
```
85-
86-
8770
=== "kn func"
8871

8972
```bash
9073
kn func invoke
9174
```
9275

93-
!!! Success "Expected output"
94-
```{ .bash .no-copy }
95-
INFO:root:OK: Request Received
96-
```
76+
!!! Success "Expected output"
77+
```{ .bash .no-copy }
78+
Received response
79+
POST / HTTP/1.1 hello.default.127.0.0.1.sslip.io
80+
User-Agent: Go-http-client/1.1
81+
Content-Length: 25
82+
Accept-Encoding: gzip
83+
Content-Type: application/json
84+
K-Proxy-Request: activator
85+
X-Request-Id: 9e351834-0542-4f32-9928-3a5d6aece30c
86+
Forwarded: for=10.244.0.15;proto=http
87+
X-Forwarded-For: 10.244.0.15, 10.244.0.9
88+
X-Forwarded-Proto: http
89+
Body:
90+
```

0 commit comments

Comments
 (0)