Skip to content

Commit 648c7cd

Browse files
authored
doc: prefer ipv6 in sample instead of ipv4 (knative#2905)
Signed-off-by: Matej Vašek <[email protected]>
1 parent f9ab674 commit 648c7cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ EXAMPLES
7171
$ {{rootCmdUse}} run --container=false
7272
7373
o Run the function locally on a specific address.
74-
$ {{rootCmdUse}} run --address=0.0.0.0:8081
74+
$ {{rootCmdUse}} run --address='[::]:8081'
7575
7676
o Run the function locally and output JSON with the service address.
7777
$ {{rootCmdUse}} run --json

docs/reference/func_run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ EXAMPLES
5353
$ func run --container=false
5454

5555
o Run the function locally on a specific address.
56-
$ func run --address=0.0.0.0:8081
56+
$ func run --address='[::]:8081'
5757

5858
o Run the function locally and output JSON with the service address.
5959
$ func run --json

0 commit comments

Comments
 (0)