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 map[K]bool with map[K]struct{} where it makes sense #5238

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Replace map[K]bool with map[K]struct{} where it makes sense #5238

merged 1 commit into from
Jan 8, 2024

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Dec 30, 2023

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

map[K]struct{} is go's set type, in various places map[K]bool was being used as a set

How to verify it

No change in behavior

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 Dec 30, 2023
@rhatdan
Copy link
Member

rhatdan commented Dec 30, 2023

LGTM
/approve
@nalind @flouthoc @giuseppe @vrothberg PTAL

@rhatdan
Copy link
Member

rhatdan commented Jan 2, 2024

Lots of testing failures?

@openshift-merge-robot openshift-merge-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Jan 4, 2024
@serprex
Copy link
Contributor Author

serprex commented Jan 4, 2024

@rhatdan tests passing now

@rhatdan
Copy link
Member

rhatdan commented Jan 4, 2024

@Luap99 PTAL

@Luap99
Copy link
Member

Luap99 commented Jan 5, 2024

changes looks good but can you please squash your commits into one

Signed-off-by: Philip Dubé <philip@peerdb.io>
@serprex
Copy link
Contributor Author

serprex commented Jan 5, 2024

@Luap99 done

Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

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

/lgtm
/hold

Copy link
Contributor

openshift-ci bot commented Jan 5, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Luap99, rhatdan, serprex

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

@giuseppe
Copy link
Member

giuseppe commented Jan 8, 2024

/hold cancel

@openshift-merge-bot openshift-merge-bot bot merged commit a17eb95 into containers:main Jan 8, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm locked - please file new issue/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants