Skip to content

Commit

Permalink
Replace deprecated annotations (dapr#41)
Browse files Browse the repository at this point in the history
* protocol --> app-protocol
  • Loading branch information
pruthvidhodda authored Aug 10, 2020
1 parent e261d37 commit b42eec0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cover: mod ## Displays test coverage in the Client package

service: mod ## Runs the uncompiled example service code
dapr run --app-id serving \
--protocol grpc \
--app-protocol grpc \
--app-port 50001 \
go run example/serving/main.go

Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func main() {
Assuming you have Dapr CLI installed locally, you can then launch your app like this:

```shell
dapr run --app-id my-app --protocol grpc --app-port 50001 go run main.go
dapr run --app-id my-app --app-protocol grpc --app-port 50001 go run main.go
```

See [example folder](./example) for complete example.
Expand Down
2 changes: 1 addition & 1 deletion example/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The `example` folder contains a Dapr enabled `serving` app a `client` app that u
```
cd example/serving
dapr run --app-id serving \
--protocol grpc \
--app-protocol grpc \
--app-port 50001 \
go run main.go
```
Expand Down

0 comments on commit b42eec0

Please sign in to comment.