feat/consul-port-scheme
baozhecheng 2 years ago
parent c7e08b4b78
commit 230ae38f89
  1. 1
      contrib/registry/consul/client.go

@ -149,6 +149,7 @@ func (c *Client) Register(_ context.Context, svc *registry.ServiceInstance, enab
port, _ := strconv.ParseInt(portRaw, 10, 32)
asr.Address = host
asr.Port = int(port)
break
}
}

Loading…
Cancel
Save