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: Make matching for prefs migration stricter #2036

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Jul 6, 2023

What

When migrating NVT and config preferences use regexp matching to ensure only ones where the substrings can be extracted are selected for the update.

Why

This addresses the migration failing because of preferences containing a colon but not having the expected pattern.

References

GEA-244

When migrating NVT and config preferences use regexp matching to ensure
only ones where the substrings can be extracted are selected for the
update.

This addresses the migration failing because of preferences containing
a colon but not having the expected pattern.
@github-actions
Copy link

github-actions bot commented Jul 6, 2023

Conventional Commits Report

Type Number
Bug Fixes 1

🚀 Conventional commits found.

@timopollmeier timopollmeier marked this pull request as ready for review July 6, 2023 14:27
@timopollmeier timopollmeier requested review from a team and mattmundell as code owners July 6, 2023 14:27
@timopollmeier timopollmeier enabled auto-merge July 6, 2023 14:29
@timopollmeier timopollmeier merged commit 6791ad3 into main Jul 6, 2023
@timopollmeier timopollmeier deleted the stricter-pref-migration-checks branch July 6, 2023 14:52
timopollmeier added a commit that referenced this pull request Jul 7, 2023
Fix: Make matching for prefs migration stricter (backport #2036)
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