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 #1907

Merged
merged 2 commits into from
Apr 24, 2024
Merged

Update to Go 1.21 #1907

merged 2 commits into from
Apr 24, 2024

Conversation

mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Apr 23, 2024

We are already doing that for downstream consumers, so let’s do it here as well, so that we not surprised by a dependency requiring Go 1.21 suddenly forcing an upgrade.

This is a very minimal update; the code could benefit from some of the new features, e.g. quite a few of the global sync.Once variables could be replaced by sync.OnceValue/sync.OnceValues.

Cc: @nalind @cevich

Copy link
Contributor

openshift-ci bot commented Apr 23, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mtrmac

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

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
@rhatdan
Copy link
Member

rhatdan commented Apr 23, 2024

LGTM

@rhatdan
Copy link
Member

rhatdan commented Apr 24, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Apr 24, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit eb9c232 into containers:main Apr 24, 2024
18 checks passed
@mtrmac mtrmac deleted the go1.21 branch April 24, 2024 17:15
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.

2 participants