This commit is contained in:
parent
103b4dc017
commit
ba6004ead2
2
main.go
2
main.go
@ -43,7 +43,7 @@ func initNacos() {
|
|||||||
portNum, _ := strconv.Atoi(port)
|
portNum, _ := strconv.Atoi(port)
|
||||||
pp := uint64(portNum)
|
pp := uint64(portNum)
|
||||||
success, err := client.RegisterInstance(vo.RegisterInstanceParam{
|
success, err := client.RegisterInstance(vo.RegisterInstanceParam{
|
||||||
Ip: "172.30.0.90",
|
//Ip: "172.30.0.90",
|
||||||
Port: pp,
|
Port: pp,
|
||||||
Weight: 10,
|
Weight: 10,
|
||||||
Enable: true,
|
Enable: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user