Skip to content

Fix for LogicMonitor resource_mapping field #2061

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

Merged
merged 1 commit into from
Jun 13, 2025

Conversation

MaxAnderson95
Copy link
Contributor

This is a follow up to PR #2059. I apologize, right before opening the last PR I changed the resource_mapping property to be optional. I forgot two critical things:

  1. I forgot to properly re-generate the CRDs to remove this as a required field. I thought I did this but I guess I missed a step.
  2. I didn't configure the field for omitempty, so if unspecified, it currently generates a broken config.

I fixed these issues and added an additional test.

…ting empty

Signed-off-by: Max Anderson <Max.A.Anderson95@gmail.com>
@MaxAnderson95 MaxAnderson95 force-pushed the fix/lm-mapping-field branch from 551fd70 to fbcc69a Compare June 10, 2025 23:32
@csatib02 csatib02 merged commit 3c33a47 into kube-logging:master Jun 13, 2025
29 checks passed
@MaxAnderson95 MaxAnderson95 deleted the fix/lm-mapping-field branch June 13, 2025 18:58
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