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

fix(registry/index): do not add artifact name to keywords if already present #61

Merged
merged 1 commit into from
May 23, 2023

Conversation

alacuku
Copy link
Member

@alacuku alacuku commented May 23, 2023

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area rules

/area registry

/area build

/area documentation

What this PR does / why we need it:

The artifact name is added to the list of keywords when generating the index.yaml file. It could happen that the list of keywords is in registry.yaml already contains the artifact name. This fix checks if the artifact name is contained in the keywords, if not adds it

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

… present

The artifact name is added to the list of keywords when generating the index.yaml
file. It could happen that the list of keywords in registry.yaml already contains
the artifact name. This fix checks if the artifact name is contained in the keywords,
if not adds it

Signed-off-by: Aldo Lacuku <aldo@lacuku.eu>
@poiana
Copy link

poiana commented May 23, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alacuku, jasondellaluce

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

@poiana
Copy link

poiana commented May 23, 2023

LGTM label has been added.

Git tree hash: 9f7aca1106b74014532a4e959c5a6a141869d085

@poiana poiana merged commit b2290ad into falcosecurity:main May 23, 2023
@jasondellaluce jasondellaluce added this to the falco-rules-1.0.0 milestone Jun 20, 2023
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.

3 participants