update
parent
2b704cc700
commit
8806b49e8f
|
|
@ -9,6 +9,7 @@ import (
|
||||||
"github.com/hashicorp/consul/api"
|
"github.com/hashicorp/consul/api"
|
||||||
"github.com/rs/xid"
|
"github.com/rs/xid"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
|
"log"
|
||||||
"net"
|
"net"
|
||||||
"net/url"
|
"net/url"
|
||||||
"os"
|
"os"
|
||||||
|
|
@ -98,7 +99,8 @@ func (c *Consul) Register(service *myregistry.ServiceInfo) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultLog.Infof("register service ok: %s", svc.Name)
|
//defaultLog.Infof("register service ok: %s", svc.Name)
|
||||||
|
log.Printf("register service ok: %s", svc.Name)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue