-
Notifications
You must be signed in to change notification settings - Fork 143
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
removed empty host check, inherently within httpHost object generation #1488
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1488 +/- ##
============================================
+ Coverage 77.44% 77.54% +0.09%
- Complexity 2178 2180 +2
============================================
Files 173 173
Lines 8984 8981 -3
Branches 892 892
============================================
+ Hits 6958 6964 +6
+ Misses 1620 1614 -6
+ Partials 406 403 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
why do we need to remove this check? |
Hello Henry! Apologies for the late reply, in regards to your questions:
and the containsNoBlanks method
Would appreciate your feedback on this, and I went over this issue with @dhrubo-os & @jngz-es if they'd like to weigh in! |
Thanks for this pr, it looks good to me. Just minor comment, you can put the issue link under the Issues Resolved section. |
Thanks @Arnav-Gr0ver , I think we should ask @zane-neo to help review too as he wrote this part. Zan, can you help review if it's ok to remove this check? |
@Arnav-Gr0ver DCO is missing. |
@Arnav-Gr0ver Thanks for making this change, you can refer to this https://github.com/opensearch-project/ml-commons/pull/1488/checks?check_run_id=17613303436 about how to fix DCO |
LGTM. |
#1488) Signed-off-by: Arnav Grover <[email protected]> (cherry picked from commit 06c0cc5)
#1488) (#1599) Signed-off-by: Arnav Grover <[email protected]> (cherry picked from commit 06c0cc5) Co-authored-by: Arnav Grover <[email protected]>
opensearch-project#1488) Signed-off-by: Arnav Grover <[email protected]> Signed-off-by: TrungBui59 <[email protected]>
opensearch-project#1488) Signed-off-by: Arnav Grover <[email protected]>
Description
if statement to check if httpHost name is not needed as an exception is already raised when creating the httpHost object for null, empty, and whitespace hostNames
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.