-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
snap_alias: fix regex expression when listing aliases #6361
snap_alias: fix regex expression when listing aliases #6361
Conversation
This needs a changelog fragment. |
bot_status |
Componentschangelogs/fragments/6361-snap-alias-regex-bugfix.yml plugins/modules/snap_alias.py tests/integration/targets/snap_alias/aliases Metadatawaiting_on: maintainer |
Backport to stable-5: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply 4171418 on top of patchback/backports/stable-5/4171418e37d9eeab4fa0005528f8ee12008949de/pr-6361 Backporting merged PR #6361 into main
🤖 @patchback |
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #6378 🤖 @patchback |
@russoz thanks for your contribution! |
* snap_alias: fix regex expression when listing aliases * simplify regex, add changelog (cherry picked from commit 4171418)
SUMMARY
While testing integration tests for ubuntu bumped into an error because the regular expression expected snap names to match
[\w-]+
but in Ubuntu there comes one namedlxd.lxc
. Replacing with\S+
.ISSUE TYPE
COMPONENT NAME
snap_alias