mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 21:48:39 +00:00
The domain part of a Cloud-Id can contain an optional custom port, e.g. cloud.example.org:9443. This feature is used for Elastic Cloud Enterprise installations that can't use the default port 443. This change fixes RestClient.build() to correctly handle custom ports.