client: update comment for clarity

Signed-off-by: Abhishek Choudhary <shreemaan.abhishek@gmail.com>
This commit is contained in:
Abhishek Choudhary 2022-11-22 19:25:46 +05:30
parent 9cc2f645cb
commit 0721d2f254
No known key found for this signature in database
GPG Key ID: 4D3AB184B60FDD02

View File

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