Better etag default to avoid error related to errors from Dapr HTTP API on a non-integer value (https://github.com/dapr/dapr/issues/1869)
This commit is contained in:
Mark Chmarny 2020-08-04 16:32:58 -07:00 committed by GitHub
parent 08c05ad522
commit e261d3773d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ func main() {
logger.Println("data published")
// save state with the key key1
err = client.SaveStateData(ctx, "statestore", "key1", "v1", data)
err = client.SaveStateData(ctx, "statestore", "key1", "1", data)
if err != nil {
logger.Panic(err)
}