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

Drop copyStringSlice() and copyStringStringMap() #5570

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

nalind
Copy link
Member

@nalind nalind commented Jun 5, 2024

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Use slices.Clone() and maps.Clone() instead of our own non-generic functions.

How to verify it

Tests should continue to pass.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

Does this PR introduce a user-facing change?

None

@openshift-ci openshift-ci bot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Jun 5, 2024
Copy link
Contributor

openshift-ci bot commented Jun 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nalind

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

@openshift-ci openshift-ci bot added the approved label Jun 5, 2024
Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

Use slices.Clone() and maps.Clone() instead of our own non-generic
functions.  We have to be more careful in a couple of places where we
set items in maps which aren't unconditionally initialized.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
@rhatdan
Copy link
Member

rhatdan commented Jun 5, 2024

LGTM
@giuseppe @vrothberg @flouthoc @mheon @ashley-cui PTAL

@mheon
Copy link
Member

mheon commented Jun 5, 2024

LGTM

@rhatdan
Copy link
Member

rhatdan commented Jun 5, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jun 5, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit ccc6ecb into containers:main Jun 5, 2024
33 of 35 checks passed
@nalind nalind deleted the clone branch June 5, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants