-
Notifications
You must be signed in to change notification settings - Fork 70
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 cluster-id in inspect file #1509
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1509 +/- ##
=======================================
Coverage 85.92% 85.92%
=======================================
Files 112 112
Lines 14838 14840 +2
=======================================
+ Hits 12750 12752 +2
Misses 1252 1252
Partials 836 836 ☔ View full report in Codecov by Sentry. |
releaseName = notApplicable | ||
} | ||
if !deployment.IsDeploymentStandard(*coreDeployment.Type) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add/update unit tests for both these cases as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have unit tests coving each deployment type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wondering why this bug wasn't identified earlier via the unit tests. It might be beneficial for us to consider adding a test case for every bug we resolve, to help prevent any regressions in the future. What do you think?
Description
Made sure that clsuter id is not printing as null. When cluster id does not come from API it is being set to null. It should be set to not applicable.
🎟 Issue(s)
Related #XXX
🧪 Functional Testing
📸 Screenshots
📋 Checklist
make test
before taking out of draftmake lint
before taking out of draft