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

Update to go 1.21 #1963

Merged
merged 2 commits into from
Apr 22, 2024
Merged

Update to go 1.21 #1963

merged 2 commits into from
Apr 22, 2024

Conversation

Luap99
Copy link
Member

@Luap99 Luap99 commented Apr 22, 2024

Many dependencies already require it so make sure we can use them.

Many dependencies already require it so make sure we can use them.

Signed-off-by: Paul Holzinger <[email protected]>
Use "slices" from the standard library, this package was added in go
1.21 so we can use it now.

Signed-off-by: Paul Holzinger <[email protected]>
Copy link
Contributor

openshift-ci bot commented Apr 22, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Luap99

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

@Luap99
Copy link
Member Author

Luap99 commented Apr 22, 2024

cc @mtrmac @cevich

@rhatdan
Copy link
Member

rhatdan commented Apr 22, 2024

LGTM

Copy link
Collaborator

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

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

/lgtm

At least some of the x/exp/maps uses can also be migrated, but we are, short-term, going to depend on x/exp/maps anyway; and that’s certainly not blocking.

@openshift-ci openshift-ci bot added the lgtm label Apr 22, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 9a795ba into containers:main Apr 22, 2024
7 checks passed
@Luap99 Luap99 deleted the go1.21 branch April 22, 2024 18:20
@Luap99
Copy link
Member Author

Luap99 commented Apr 23, 2024

At least some of the x/exp/maps uses can also be migrated, but we are, short-term, going to depend on x/exp/maps anyway; and that’s certainly not blocking.

Yeah I went with the easy search and replace and didn't bother doing a manual audit to see what "maps" users can be replaced there given Keys() is not part of the std.

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.

None yet

3 participants