From 0721d2f2544151c1113c4ea79a7b49fdb106f506 Mon Sep 17 00:00:00 2001 From: Abhishek Choudhary Date: Tue, 22 Nov 2022 19:25:46 +0530 Subject: [PATCH] client: update comment for clarity Signed-off-by: Abhishek Choudhary --- client/v3/concurrency/key.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/v3/concurrency/key.go b/client/v3/concurrency/key.go index 0045521af..8a5d6e1f1 100644 --- a/client/v3/concurrency/key.go +++ b/client/v3/concurrency/key.go @@ -46,7 +46,7 @@ func waitDelete(ctx context.Context, client *v3.Client, key string, rev int64) e } // waitDeletes efficiently waits until all keys matching the prefix and no greater -// than the create revision. +// than the create revision are deleted. func waitDeletes(ctx context.Context, client *v3.Client, pfx string, maxCreateRev int64) (*pb.ResponseHeader, error) { getOpts := append(v3.WithLastCreate(), v3.WithMaxCreateRev(maxCreateRev)) for {