Skip to content

Commit 4beb217

Browse files
authored
use the latest options for port (#83)
1 parent 7e20fe9 commit 4beb217

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

example/Readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cd example/serving/http
1111
dapr run --app-id serving \
1212
--app-protocol http \
1313
--app-port 8080 \
14-
--port 3500 \
14+
--dapr-http-port 3500 \
1515
--log-level debug \
1616
--components-path ./config \
1717
go run main.go
@@ -24,7 +24,7 @@ cd example/serving/grpc
2424
dapr run --app-id serving \
2525
--app-protocol grpc \
2626
--app-port 50001 \
27-
--port 3500 \
27+
--dapr-grpc-port 3500 \
2828
--log-level debug \
2929
--components-path ./config \
3030
go run main.go
@@ -39,7 +39,7 @@ cd example/client
3939
dapr run --app-id caller \
4040
--components-path ./config \
4141
--log-level debug \
42-
go run main.go
42+
go run main.go
4343
```
4444

4545
## API

example/pubsub/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dapr run --app-id sub \
2121
--dapr-http-port 3500 \
2222
--log-level debug \
2323
--components-path ../config \
24-
go run sub.go
24+
go run sub.go
2525
```
2626

2727
### Run Publisher
@@ -36,7 +36,7 @@ Please change directory to pubsub/pub and run the following command:
3636
dapr run --app-id pub \
3737
--log-level debug \
3838
--components-path ../config \
39-
go run pub.go
39+
go run pub.go
4040
```
4141

4242
## Result

0 commit comments

Comments
 (0)