Consul Node.Name
might be a DNS name
#2208
Labels
bug
Identified as a potential bug
Consul
Service discovery by Consul
Service Discovery
Ocelot feature: Service Discovery
Expected Behavior / New Feature
The consul service discovery provider should check if the node.Name could be a DNS/Host Name, otherwise return the service url.
Actual Behavior / Motivation for New Feature
The consul service provider doesn't check if the node.Name is a host name. Depending on service discovery configuration, the node.Name might not be a host name.
https://developer.hashicorp.com/consul/docs/agent
Node name: This is a unique name for the agent. By default, this is the hostname of the machine, but you may customize it using the -node flag.
Steps to Reproduce the Problem
related to: #2203, #954
The text was updated successfully, but these errors were encountered: