register fix 2
This commit is contained in:
parent
a9b73a6536
commit
9d424742d6
@ -66,8 +66,8 @@ func (s *Service) GetFullAddr() string {
|
|||||||
|
|
||||||
func (s *Service) Register() error {
|
func (s *Service) Register() error {
|
||||||
def := &consul.AgentServiceRegistration{
|
def := &consul.AgentServiceRegistration{
|
||||||
ID: s.GetID(),
|
ID: s.GetID(),
|
||||||
Kind: consul.ServiceKindConnectProxy,
|
// Kind: consul.ServiceKindConnectProxy,
|
||||||
Name: s.Name,
|
Name: s.Name,
|
||||||
Address: s.Address,
|
Address: s.Address,
|
||||||
Port: s.port,
|
Port: s.port,
|
||||||
|
Loading…
Reference in New Issue
Block a user