Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
chray-zhang committed Dec 3, 2024
1 parent 33c9cd7 commit 7a3f63c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ops/gauntlet/gauntlet_plus_plus_starknet.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7a3f63c

Please sign in to comment.