Skip to content

Conversation

Igor-splunk
Copy link
Collaborator

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

  • Code changes adhere to the project's coding standards.
  • Relevant unit and integration tests are included.
  • Documentation has been updated accordingly.
  • All tests pass locally.
  • The PR description follows the project's guidelines.

@coveralls
Copy link
Collaborator

coveralls commented Oct 2, 2025

Pull Request Test Coverage Report for Build 18274889429

Details

  • 0 of 5 (0.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.01%) to 86.561%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/splunk/enterprise/upgrade.go 0 5 0.0%
Files with Coverage Reduction New Missed Lines %
pkg/splunk/enterprise/cp.go 1 36.11%
Totals Coverage Status
Change from base Build 18040656546: -0.01%
Covered Lines: 10711
Relevant Lines: 12374

💛 - Coveralls

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 18187142485

Details

  • 0 of 6 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.03%) to 86.545%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/splunk/enterprise/upgrade.go 0 6 0.0%
Totals Coverage Status
Change from base Build 18040656546: -0.03%
Covered Lines: 10710
Relevant Lines: 12375

💛 - Coveralls


// 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 {
Copy link
Collaborator

@kasiakoziol kasiakoziol Oct 2, 2025

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

}
goto IndexerCluster
}
goto IndexerCluster
Copy link
Collaborator

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?

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.

4 participants