Merge pull request #14822 from shreemaan-abhishek/fix-comment

client: update comment for clarity
This commit is contained in:
Marek Siarkowicz 2022-11-22 15:18:42 +01:00 committed by GitHub
commit 5a39c0f6b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 // 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) { func waitDeletes(ctx context.Context, client *v3.Client, pfx string, maxCreateRev int64) (*pb.ResponseHeader, error) {
getOpts := append(v3.WithLastCreate(), v3.WithMaxCreateRev(maxCreateRev)) getOpts := append(v3.WithLastCreate(), v3.WithMaxCreateRev(maxCreateRev))
for { for {