From 7a3f63cf6fcf8730c8bce1df019a1f8a649ee835 Mon Sep 17 00:00:00 2001 From: chray-zhang Date: Tue, 3 Dec 2024 18:47:57 -0500 Subject: [PATCH] linting --- ops/gauntlet/gauntlet_plus_plus_starknet.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ops/gauntlet/gauntlet_plus_plus_starknet.go b/ops/gauntlet/gauntlet_plus_plus_starknet.go index db3bdbb8..a54b2e4a 100644 --- a/ops/gauntlet/gauntlet_plus_plus_starknet.go +++ b/ops/gauntlet/gauntlet_plus_plus_starknet.go @@ -6,6 +6,7 @@ import ( "fmt" "net/http" "time" + "github.com/rs/zerolog/log" g "github.com/smartcontractkit/gauntlet-plus-plus/sdks/go-gauntlet/client" @@ -184,8 +185,8 @@ func (sgpp *StarknetGauntletPlusPlus) executeReturnsReport(request *Request) (g. log.Error().Err(err).Msg("Failed to marshal response body") return g.Report{}, err } - if (response.JSON200 == nil || response.JSON200.Id == "" || response == nil) { - time.Sleep(20*time.Minute) + if response.JSON200 == nil || response.JSON200.Id == "" || response == nil { + time.Sleep(20 * time.Minute) } // Log the full response JSON