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(wadm): ensure custom traits are not spread or link traits #396

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

brooksmtownsend
Copy link
Member

Feature or Problem

This PR seeks to catch a fairly frustrating issue where you incorrectly format a spreadscaler, daemonscaler, or link trait and all of a sudden it seems that it won't deploy. This can happen when the deserialization falls through to the Custom trait.

This PR denies any trait from having a type spreadscaler, daemonscaler, or link and deserialize as a custom trait. All other custom traits are supported just fine.

Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

Signed-off-by: Brooks Townsend <brooksmtownsend@gmail.com>
@brooksmtownsend brooksmtownsend requested a review from a team as a code owner August 22, 2024 15:32
@brooksmtownsend brooksmtownsend enabled auto-merge (rebase) August 22, 2024 15:32
@brooksmtownsend brooksmtownsend merged commit 5a22fd1 into main Aug 28, 2024
4 checks passed
@brooksmtownsend brooksmtownsend deleted the fix/catch-bad-custom-traits branch August 28, 2024 00:22
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