From 75e0ebb8fdca05395bafe2433f1a928ce8457dc2 Mon Sep 17 00:00:00 2001 From: crusader Date: Sat, 28 Apr 2018 22:42:26 +0900 Subject: [PATCH] ing --- crawler/health/SocketHeahthCrawler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawler/health/SocketHeahthCrawler.go b/crawler/health/SocketHeahthCrawler.go index 1ee959c..5e3e14b 100644 --- a/crawler/health/SocketHeahthCrawler.go +++ b/crawler/health/SocketHeahthCrawler.go @@ -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 }