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

Replace util.ValueInSlice with slices.Contains #527

Merged
merged 2 commits into from
Feb 23, 2024

Conversation

monstermunchkin
Copy link
Member

This removes util.ValueInSlice() in favor of slices.Contains() which was introduced in Go 1.21.

Signed-off-by: Thomas Hipp <thomashipp@gmail.com>
Signed-off-by: Thomas Hipp <thomashipp@gmail.com>
@stgraber stgraber merged commit ecabd6c into lxc:main Feb 23, 2024
25 checks passed
@monstermunchkin monstermunchkin deleted the slices-contains branch February 24, 2024 19:59
gibmat added a commit to gibmat/distrobuilder that referenced this pull request Mar 26, 2024
Mirror what was done in lxc/incus#527 to fix build failure with incus >= 0.7

Signed-off-by: Mathias Gibbens <gibmat@debian.org>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants