Description
"it looks like in this class, "nodesExt" is null
[3:18:11 PM] XXX: public NodeAdapter(Node node, NodeExt nodeExt)
{
_node = node;
_nodeExt = nodeExt;
//normalize the interfaces providing defaults where applicable
Hostname = nodeExt == null ? node.Hostname : nodeExt.Hostname;
Hostname = Hostname ?? node.Hostname;
//strip off the admin port - we can use services
if (Hostname.Contains(":"))
//These will default to zero id nodesExt is null
if (nodeExt != null)
{
[3:18:25 PM] XXX: if nodeExt is null, "KeyValue" is defaulted to 0"
Attachments
For Gerrit Dashboard: NCBC-924 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
52347,3 | NCBC-924: Port defaults to 0 when NodeExt is not found in cluster map | master | couchbase-net-client | Status: MERGED | +2 | +1 |
52395,3 | NCBC-924: part 2 - Port defaults to 0 when NodeExt is not found in cluster map | master | couchbase-net-client | Status: MERGED | +2 | +1 |