1
0
Fork 0

Fix KV key name used to check if connection is alive

This commit is contained in:
Kevin Pollet 2025-10-16 16:50:05 +02:00 committed by GitHub
parent 34d7091f31
commit ffd82c92cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,7 +54,7 @@ func (p *Provider) Provide(configurationChan chan<- dynamic.Message, pool *safe.
logger := log.FromContext(ctx) logger := log.FromContext(ctx)
operation := func() error { operation := func() error {
if _, err := p.kvClient.Exists(ctx, path.Join(p.RootKey, "qmslkjdfmqlskdjfmqlksjazçueznbvbwzlkajzebvkwjdcqmlsfj"), nil); err != nil { if _, err := p.kvClient.Exists(ctx, path.Join(p.RootKey, "qmslkjdfmqlskdjfmqlksjazcueznbvbwzlkajzebvkwjdcqmlsfj"), nil); err != nil {
return fmt.Errorf("KV store connection error: %w", err) return fmt.Errorf("KV store connection error: %w", err)
} }
return nil return nil