mirror of
https://github.com/openziti/ziti.git
synced 2026-09-25 03:42:38 +00:00
Info -> Debug on xgress_edge_tunnel dial result
This commit is contained in:
@@ -227,7 +227,7 @@ func (self *EdgeRouterManager) IsAccessToEdgeRouterAllowed(identityId, serviceId
|
||||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
return false, nil
|
||||
return false, err
|
||||
}
|
||||
return result, nil
|
||||
}
|
||||
@@ -249,7 +249,7 @@ func (self *EdgeRouterManager) IsSharedEdgeRouterPresent(identityId, serviceId s
|
||||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
return false, nil
|
||||
return false, err
|
||||
}
|
||||
return result, nil
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ type dialer struct {
|
||||
options *Options
|
||||
}
|
||||
|
||||
func (dialer dialer) IsTerminatorValid(id string, destination string) bool {
|
||||
func (dialer *dialer) IsTerminatorValid(id string, destination string) bool {
|
||||
destParts := strings.Split(destination, ":")
|
||||
if len(destParts) != 2 {
|
||||
return false
|
||||
|
||||
@@ -61,7 +61,7 @@ func (self *tunneler) Dial(params xgress.DialParams) (xt.PeerData, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
log.Infof("successful connection %v->%v for destination %v", conn.LocalAddr(), conn.RemoteAddr(), destination)
|
||||
log.Debugf("successful connection %v->%v for destination %v", conn.LocalAddr(), conn.RemoteAddr(), destination)
|
||||
|
||||
xgConn := xgress_common.NewXgressConn(conn, halfClose, false)
|
||||
peerData := make(xt.PeerData, 3)
|
||||
|
||||
Reference in New Issue
Block a user