mirror of
https://github.com/alibaba/higress.git
synced 2026-03-07 18:10:54 +08:00
fix mcpbridge endpoint port (#1382)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user