-
Notifications
You must be signed in to change notification settings - Fork 123
CSPL-4024: Enchance IDXC upgrade error message. #1594
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
base: develop
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 18274889429Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 18187142485Details
💛 - Coveralls |
pkg/splunk/enterprise/upgrade.go
Outdated
|
||
// check if an image upgrade is happening and whether CM has finished updating yet, return false to stop | ||
// further reconcile operations on custom resource until CM is ready | ||
if clusterManager.Status.Phase != enterpriseApi.PhaseReady || cmImage != spec.Image { |
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.
Outside if is not needed (if clusterManager.Status.Phase != enterpriseApi.PhaseReady || cmImage != spec.Image) if you divide it into separate ifs
pkg/splunk/enterprise/upgrade.go
Outdated
} | ||
goto IndexerCluster | ||
} | ||
goto IndexerCluster |
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 guess it doesn't change the logic at all, but is there a reason this line was moved outside of the above code block/braces?
Description
What does this PR have in it?
Key Changes
Highlight the updates in specific files
Testing and Verification
How did you test these changes? What automated tests are added?
Related Issues
Jira tickets, GitHub issues, Support tickets...
PR Checklist