Replace deprecated annotations (#41)

* protocol --> app-protocol
This commit is contained in:
Pruthvidhar R Dhodda 2020-08-10 15:44:50 -07:00 committed by GitHub
parent e261d3773d
commit b42eec0ba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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.

View File

@ -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
```