From ba5a25ed2d937e82e4db088a50211b51fb914681 Mon Sep 17 00:00:00 2001 From: liuyao Date: Mon, 12 Apr 2021 20:40:04 +0800 Subject: [PATCH] fix gRPC-integration.md --- .../integrations/gRPC-integration.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daprdocs/content/en/developing-applications/integrations/gRPC-integration.md b/daprdocs/content/en/developing-applications/integrations/gRPC-integration.md index dfaaeda64..d02ab1985 100644 --- a/daprdocs/content/en/developing-applications/integrations/gRPC-integration.md +++ b/daprdocs/content/en/developing-applications/integrations/gRPC-integration.md @@ -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!