Open joshuaspence opened 8 years ago
Hi @joshuaspence thanks for opening an issue. Right now, clients have to realize that the address is empty and look up the node's address in the other part of the structure (that's what Consul does internally for DNS, for example). We should consider filling this in to make this API easier to consume.
Implementation note - we will need to be a little careful how this is done (probably in the agent) because the servers will have a pointer into the state store, so we can't just loop and tweak them.
I have the following service definition:
According to the documentation, the
Address
field should be optional:However, the field doesn't seem to be correctly populated when querying the API: