Skip to content

Commit

Permalink
CXXCBC-362: Remove node hostname port stripping logic from config par…
Browse files Browse the repository at this point in the history
…sing (#438)
  • Loading branch information
thejcfactor committed Aug 14, 2023
1 parent 77fa45b commit a1d5649
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/topology/configuration_json.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ struct traits<couchbase::core::topology::configuration> {
}
if (const auto& hostname = o.find("hostname"); hostname != o.end()) {
n.hostname = hostname->second.get_string();
n.hostname = n.hostname.substr(0, n.hostname.rfind(':'));
}
const auto& s = o.at("services");
n.services_plain.key_value = s.template optional<std::uint16_t>("kv");
Expand Down

0 comments on commit a1d5649

Please sign in to comment.