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

Switch to go 1.22 #2136

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Switch to go 1.22 #2136

merged 1 commit into from
Apr 24, 2024

Conversation

saschagrunert
Copy link
Member

What type of PR is this?

/kind ci

What this PR does / why we need it:

Fix to the latest go version and adjust the failing test.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

None

Does this PR introduce a user-facing change?

None

Signed-off-by: Sascha Grunert <[email protected]>
Copy link
Contributor

openshift-ci bot commented Apr 22, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@codecov-commenter
Copy link

Codecov Report

Merging #2136 (910d4ae) into main (4e0f474) will not change coverage.
Report is 299 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2136   +/-   ##
=======================================
  Coverage   37.53%   37.53%           
=======================================
  Files          15       15           
  Lines        1268     1268           
  Branches      414      410    -4     
=======================================
  Hits          476      476           
+ Misses        526      525    -1     
- Partials      266      267    +1     

@saschagrunert
Copy link
Member Author

@rphillips @haircommander PTAL

Comment on lines +714 to +715
Expect(err).NotTo(HaveOccurred())
tr.startContainer(sut)
Copy link
Collaborator

Choose a reason for hiding this comment

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

it's not clear to me why this switched

Copy link
Member Author

Choose a reason for hiding this comment

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

I changed the container above to actually be valid. Fun fact is that the for loop for _, terminal := range []bool{true, false} { in go 1.21 (ginkgo related?) does not work for true, but it works in go 1.22.

@haircommander
Copy link
Collaborator

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Apr 23, 2024
@saschagrunert saschagrunert merged commit 6e58057 into containers:main Apr 24, 2024
35 of 36 checks passed
@saschagrunert saschagrunert deleted the go-1.22 branch August 1, 2024 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants