Remove unused method and fixup docs ref
This commit is contained in:
parent
cc4ff3ae02
commit
51f8f76b3b
|
@ -987,24 +987,6 @@ func (ns *NodeService) BestAddress(wan bool) (string, int) {
|
|||
return addr, port
|
||||
}
|
||||
|
||||
func (ns *NodeService) compoundID(preferName bool) ServiceID {
|
||||
var id string
|
||||
if ns.ID == "" || (preferName && ns.Service != "") {
|
||||
id = ns.Service
|
||||
} else {
|
||||
id = ns.ID
|
||||
}
|
||||
|
||||
// copy the ent meta and normalize it
|
||||
entMeta := ns.EnterpriseMeta
|
||||
entMeta.Normalize()
|
||||
|
||||
return ServiceID{
|
||||
ID: id,
|
||||
EnterpriseMeta: entMeta,
|
||||
}
|
||||
}
|
||||
|
||||
func (ns *NodeService) CompoundServiceID() ServiceID {
|
||||
id := ns.ID
|
||||
if id == "" {
|
||||
|
|
|
@ -1023,7 +1023,7 @@ $ curl \
|
|||
|
||||
- `Service.Namespace` is the Consul Enterprise namespace of a service associated with the gateway
|
||||
|
||||
- `ServiceKind` is the kind of service, will be one of "ingress-gateway" or "terminating-gateway". See the Agent
|
||||
- `GatewayKind` is the kind of service, will be one of "ingress-gateway" or "terminating-gateway". See the Agent
|
||||
[service registration API](/api/agent/service#kind) for more information.
|
||||
|
||||
- `CAFile` is the path to a CA file the gateway will use for TLS origination to the associated service
|
||||
|
|
Loading…
Reference in New Issue