fix/typo: modify state annotation (#283)

Signed-off-by: 1046102779 <seachen@tencent.com>
This commit is contained in:
yellow chicks 2022-05-06 23:40:47 +08:00 committed by GitHub
parent 24ccf7eb52
commit d204f691ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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