From 48e9ff09da17b0e0eb66a1109828319a6de307ae Mon Sep 17 00:00:00 2001 From: Andrew Cholakian Date: Mon, 6 Aug 2018 14:20:04 -0500 Subject: [PATCH] Add String() to redis backoff client to correctly impl. NetworkClient (#7882) (cherry picked from commit 551b2a9eaefd7a611a650363bc7063522454dd43) --- libbeat/outputs/redis/backoff.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libbeat/outputs/redis/backoff.go b/libbeat/outputs/redis/backoff.go index b3470725a929..7c63574d92fd 100644 --- a/libbeat/outputs/redis/backoff.go +++ b/libbeat/outputs/redis/backoff.go @@ -112,3 +112,7 @@ func (b *backoffClient) resetFail() { b.reason = failNone b.backoff.Reset() } + +func (b *backoffClient) String() string { + return b.client.String() +}