Skip to content

Commit

Permalink
Merge pull request #363 from civo/DMajrekar-patch-1
Browse files Browse the repository at this point in the history
Update error check during VersionCheck
  • Loading branch information
vishalanarase authored Feb 5, 2024
2 parents 5fe8a51 + 396754a commit 5d91a20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,8 @@ func VersionCheck(client *github.Client) (res *github.RepositoryRelease, skip bo
fmt.Printf("hit secondary rate limit try again in %s minute", err.(*github.AbuseRateLimitError).RetryAfter)
return nil, true
}
if err != nil {
return nil, true
}
return release, false
}

0 comments on commit 5d91a20

Please sign in to comment.