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 Map of String case in ServiceMonitor #62

Merged
merged 2 commits into from
Apr 21, 2022
Merged

Fix Map of String case in ServiceMonitor #62

merged 2 commits into from
Apr 21, 2022

Conversation

clux
Copy link
Member

@clux clux commented Apr 21, 2022

This is similar to the case we didn't quite deal with in validationsInfo that defines a struct under additionalProperties.

Maps of vectors have more issues here, and might need to deal with this better later.

For now, have put tests in place for each of these, and this fixes #61

Signed-off-by: clux <sszynrae@gmail.com>
Signed-off-by: clux <sszynrae@gmail.com>
@clux clux marked this pull request as ready for review April 21, 2022 16:52
@clux clux merged commit aa12b65 into main Apr 21, 2022
@clux clux deleted the servicemon branch April 21, 2022 17:03
@clux clux changed the title Failing tests for ServiceMonitor Fix Map of String case in ServiceMonitor Apr 21, 2022
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.

ServiceMonitor generates invalid maps
1 participant