Skip to content

Commit

Permalink
fix mcpbridge endpoint port (#1382)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlanni authored Oct 11, 2024
1 parent ae6dab9 commit 1a53c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/direct/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func (w *watcher) generateServiceEntry(host string) *v1alpha3.ServiceEntry {
}
endpoint = &v1alpha3.WorkloadEntry{
Address: pair[0],
Ports: map[string]uint32{"http": uint32(port)},
Ports: map[string]uint32{w.Protocol: uint32(port)},
}
} else if w.Type == string(registry.DNS) {
if !domainRegex.MatchString(ep) {
Expand Down

0 comments on commit 1a53c7b

Please sign in to comment.