From 84395ebca3e909f363b7cfc225b96675ee6fe15d Mon Sep 17 00:00:00 2001 From: Kevin Franklin Kim Date: Mon, 23 Sep 2024 08:42:57 +0200 Subject: [PATCH] feat: retry-go v4 --- go.mod | 2 +- net/http/roundtripware/retry.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index bc4a179..292ef14 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.22 toolchain go1.22.5 require ( - github.com/avast/retry-go v3.0.0+incompatible + github.com/avast/retry-go/v4 v4.6.0 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc github.com/fbiville/markdown-table-formatter v0.3.0 github.com/foomo/gotsrpc/v2 v2.8.1 diff --git a/net/http/roundtripware/retry.go b/net/http/roundtripware/retry.go index 768bd10..8cfd94b 100644 --- a/net/http/roundtripware/retry.go +++ b/net/http/roundtripware/retry.go @@ -6,7 +6,7 @@ import ( "net/http" "time" - "github.com/avast/retry-go" + "github.com/avast/retry-go/v4" "go.uber.org/zap" )