We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77fa45b commit a1d5649Copy full SHA for a1d5649
core/topology/configuration_json.hxx
@@ -52,7 +52,6 @@ struct traits<couchbase::core::topology::configuration> {
52
}
53
if (const auto& hostname = o.find("hostname"); hostname != o.end()) {
54
n.hostname = hostname->second.get_string();
55
- n.hostname = n.hostname.substr(0, n.hostname.rfind(':'));
56
57
const auto& s = o.at("services");
58
n.services_plain.key_value = s.template optional<std::uint16_t>("kv");
0 commit comments