Merge pull request #1053 from dapr/orizohar-patch-1

Fixing dapr run command in rc.2 how to get state doc
This commit is contained in:
Aaron Crawfis 2021-01-05 11:12:25 -08:00 committed by GitHub
commit 3ed674cd90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ The following example shows how to save two key/value pairs in a single call usi
{{% codetab %}}
Begin by ensuring a Dapr sidecar is running:
```bash
dapr --app-id myapp --port 3500 run
dapr run --app-id myapp --dapr-http-port 3500
```
{{% alert title="Note" color="info" %}}
It is important to set an app-id, as the state keys are prefixed with this value. If you don't set it one is generated for you at runtime, and the next time you run the command a new one will be generated and you will no longer be able to access previously saved state.