Skip to content

Commit

Permalink
Update utils.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmohona committed Jun 23, 2021
1 parent 0b56a36 commit b695fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func (e2e *E2EClient) GetClusteredResource(gvr schema.GroupVersionResource, name
func GetWithRetry(sleepInterval time.Duration, retryCount int, retryFunc func() error) error {
var err error
for i := 0; i < retryCount; i++ {
err = retryFunc()
err = retryFunc()
if err != nil {
time.Sleep(sleepInterval * time.Second)
continue
Expand Down

0 comments on commit b695fe5

Please sign in to comment.