You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix OpenSearch connection error with empty port parameter (#1004)
* Fix OpenSearch connection error with empty port parameter
Handle empty es_port and es_host parameters gracefully to prevent
'invalid literal for int()' error when ElasticSearch/OpenSearch
connection parameters are not provided in Jenkins jobs.
Changes:
- Add validation to check for empty host/port before conversion
- Convert port to integer once and reuse the value
- Provide clearer error message when connection parameters are missing
- Allow jobs to continue with es=None when ES is not configured
Co-authored-by: Cursor <cursoragent@cursor.com>
* Review comments
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments