mirror of https://github.com/dapr/docs.git
fix gRPC-integration.md
This commit is contained in:
parent
8ac1551a3e
commit
ba5a25ed2d
|
@ -95,11 +95,11 @@ defer client.Close()
|
|||
|
||||
```go
|
||||
// save state with the key key1
|
||||
err = client.SaveStateData(ctx, "statestore", "key1", "1", data)
|
||||
err = client.SaveState(ctx, "statestore", "key1", data)
|
||||
if err != nil {
|
||||
logger.Panic(err)
|
||||
log.Panic(err)
|
||||
}
|
||||
logger.Println("data saved")
|
||||
log.Println("data saved")
|
||||
```
|
||||
|
||||
Hooray!
|
||||
|
|
Loading…
Reference in New Issue