ing
This commit is contained in:
parent
042e4ac37b
commit
75e0ebb8fd
|
@ -32,7 +32,7 @@ func (s *SocketHeahthCrawler) getConnection(config *ocmsc.SensorConfig) (net.Con
|
|||
|
||||
addr := fmt.Sprintf("%s:%s", ip, port)
|
||||
|
||||
conn, err := net.Dial(portType, addr)
|
||||
conn, err := net.Dial(portType.String(), addr)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user