Skip to content

Commit a1d5649

Browse files
authored
CXXCBC-362: Remove node hostname port stripping logic from config parsing (#438)
1 parent 77fa45b commit a1d5649

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/topology/configuration_json.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ struct traits<couchbase::core::topology::configuration> {
5252
}
5353
if (const auto& hostname = o.find("hostname"); hostname != o.end()) {
5454
n.hostname = hostname->second.get_string();
55-
n.hostname = n.hostname.substr(0, n.hostname.rfind(':'));
5655
}
5756
const auto& s = o.at("services");
5857
n.services_plain.key_value = s.template optional<std::uint16_t>("kv");

0 commit comments

Comments
 (0)