Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jukie committed Sep 18, 2024
1 parent c066937 commit 94b6367
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions control-plane/catalog/to-consul/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ func (t *ServiceResource) generateRegistrations(key string) {
}

for _, endpointAddr := range endpoint.Addresses {

// Find the ip address for the node and
// create the Consul service using it
var found bool
Expand Down Expand Up @@ -745,6 +746,7 @@ func (t *ServiceResource) registerServiceInstance(
}
for _, endpoint := range endpointSlice.Endpoints {
for _, endpointAddr := range endpoint.Addresses {

var addr string
// Use the address and port from the Ingress resource if
// ingress-sync is enabled and the service has an ingress
Expand Down

0 comments on commit 94b6367

Please sign in to comment.