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

🐛 [MTA-1455] Fix typo in tackle-migrator role yaml #566

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

mansam
Copy link
Collaborator

@mansam mansam commented Nov 30, 2023

The migrator role was not able to access the targets resource correctly due to a keyname typo in roles.yaml. The incorrectly named verb key was ignored by the unmarshaller, which resulted in there being no verbs permitted for the resource. This fixes the typo in the yaml, turns on strict unmarshalling in the LoadUsers and LoadRoles functions, and then adds a unit test to catch future typos.

The tests will catch key typos, typos in http verbs, and typos in user role mappings.

Fixes https://issues.redhat.com/browse/MTA-1455

Corrects a yaml typo that impacted tackle-migrator role's
access to the "targets" resource.

Fixes MTA-1455

Signed-off-by: Sam Lucidi <slucidi@redhat.com>
Signed-off-by: Sam Lucidi <slucidi@redhat.com>
@mansam mansam changed the title [MTA-1455] Fix typo in tackle-migrator role yaml 🐛 [MTA-1455] Fix typo in tackle-migrator role yaml Nov 30, 2023
Copy link
Contributor

@dymurray dymurray left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants