mirror of https://github.com/dapr/go-sdk.git
fix/typo: modify state annotation (#283)
Signed-off-by: 1046102779 <seachen@tencent.com>
This commit is contained in:
parent
24ccf7eb52
commit
d204f691ed
|
|
@ -125,7 +125,7 @@ type Client interface {
|
|||
// DeleteBulkState deletes content for multiple keys from store.
|
||||
DeleteBulkState(ctx context.Context, storeName string, keys []string, meta map[string]string) error
|
||||
|
||||
// DeleteBulkState deletes content for multiple keys from store.
|
||||
// DeleteBulkStateItems deletes content for multiple items from store.
|
||||
DeleteBulkStateItems(ctx context.Context, storeName string, items []*DeleteStateItem) error
|
||||
|
||||
// Shutdown the sidecar.
|
||||
|
|
|
|||
|
|
@ -472,7 +472,7 @@ func (c *GRPCClient) DeleteBulkState(ctx context.Context, storeName string, keys
|
|||
return c.DeleteBulkStateItems(ctx, storeName, items)
|
||||
}
|
||||
|
||||
// DeleteBulkState deletes content for multiple keys from store.
|
||||
// DeleteBulkStateItems deletes content for multiple items from store.
|
||||
func (c *GRPCClient) DeleteBulkStateItems(ctx context.Context, storeName string, items []*DeleteStateItem) error {
|
||||
if len(items) == 0 {
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue