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

SOLR-17213: Make warning optional so we can warn only when solrUrl is user entered #2377

Merged
merged 4 commits into from
Apr 10, 2024

Conversation

epugh
Copy link
Contributor

@epugh epugh commented Mar 29, 2024

https://issues.apache.org/jira/browse/SOLR-17213

Description

Only print the user warning when a user provides the solrUrl, not when we look it up from the cluster using the zkHost parameter. Warning in that situation to the user doesn't help!

Solution

Please provide a short description of the approach taken to implement your solution.

Tests

Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.

Checklist

Please review the following and check all that apply:

  • I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
  • I have created a Jira issue and added the issue ID to my pull request title.
  • I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
  • I have developed this patch against the main branch.
  • I have run ./gradlew check.
  • I have added tests for my changes.
  • I have added documentation for the Reference Guide

@epugh
Copy link
Contributor Author

epugh commented Mar 29, 2024

Small change @gerlowskija but can you give once over!?? Should I have dealt with this differently?

Copy link
Contributor

@gerlowskija gerlowskija left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@epugh epugh merged commit ee12555 into apache:main Apr 10, 2024
2 of 3 checks passed
epugh added a commit that referenced this pull request Apr 10, 2024
… user entered (#2377)

Prevent spurious warnings to the console for Solr URL's that are NOT entered by the user, but instead are looked up by the CLI from Solr itself.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants