Update valkeyrie to a9a70ee

This commit is contained in:
Kevin Pollet
2022-08-11 15:42:07 +02:00
committed by GitHub
parent 4755bb2f33
commit 40db06204b
11 changed files with 93 additions and 72 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
package try
import (
"context"
"errors"
"fmt"
"io"
@@ -185,7 +186,7 @@ type DoCondition func() error
// Verify if a Key exists in the store.
func KVExists(kv store.Store, key string) DoCondition {
return func() error {
_, err := kv.Exists(key, nil)
_, err := kv.Exists(context.Background(), key, nil)
return err
}
}