Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix version check timeout #2008

Merged
merged 4 commits into from
Jun 1, 2023

Conversation

asafgabai
Copy link
Contributor

@asafgabai asafgabai commented Jun 1, 2023

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.

Send CLI version check request without printing warnings to the log (in case of failure) and with a timeout.

@asafgabai asafgabai added bug Something isn't working safe to test Approve running integration tests on a pull request labels Jun 1, 2023
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Jun 1, 2023
utils/cliutils/utils.go Outdated Show resolved Hide resolved
utils/cliutils/utils.go Outdated Show resolved Hide resolved
@asafgabai asafgabai marked this pull request as ready for review June 1, 2023 13:02
@asafgabai asafgabai temporarily deployed to frogbot June 1, 2023 13:05 — with GitHub Actions Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Jun 1, 2023

What is Frogbot?

@asafgabai asafgabai merged commit bddaf49 into jfrog:dev Jun 1, 2023
1 check failed
@asafgabai asafgabai deleted the pheeks-verzhen-tsheq-taimaaoot branch June 1, 2023 13:28
client, err := httpclient.ClientBuilder().Build()
if err != nil {
client := &http.Client{Timeout: time.Second * 2}
if errorutils.CheckError(err) != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants