mirror of
https://github.com/traefik/traefik
synced 2026-02-03 11:10:33 +00:00
Update valkeyrie to a9a70ee
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user