diff --git a/config/connectivity/connectivity.go b/config/connectivity/connectivity.go index fbabec58..f366415d 100644 --- a/config/connectivity/connectivity.go +++ b/config/connectivity/connectivity.go @@ -41,7 +41,7 @@ type Checker struct { lastCheck time.Time } -func (c Checker) Check() bool { +func (c *Checker) Check() bool { return client.CanCreateTCPConnection(c.Target, &client.Config{Timeout: 5 * time.Second}) }