File tree Expand file tree Collapse file tree 3 files changed +0
-8
lines changed
Expand file tree Collapse file tree 3 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ import (
1818 "go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace"
1919 "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
2020 "go.uber.org/zap"
21-
22- "gopkg.in/tomb.v2"
2321)
2422
2523// HTTPHealthcheckConfiguration defines an HTTP healthcheck configuration
@@ -93,7 +91,6 @@ type HTTPHealthcheck struct {
9391 URL string
9492
9593 Tick * time.Ticker
96- t tomb.Tomb
9794 Client * http.Client
9895}
9996
Original file line number Diff line number Diff line change 99
1010 "github.com/pkg/errors"
1111 "go.uber.org/zap"
12-
13- "gopkg.in/tomb.v2"
1412)
1513
1614// TCPHealthcheckConfiguration defines a TCP healthcheck configuration
@@ -56,7 +54,6 @@ type TCPHealthcheck struct {
5654 URL string
5755
5856 Tick * time.Ticker
59- t tomb.Tomb
6057}
6158
6259// buildURL build the target URL for the TCP healthcheck, depending of its
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import (
1111 "github.com/appclacks/cabourotte/tls"
1212 "github.com/pkg/errors"
1313 "go.uber.org/zap"
14- "gopkg.in/tomb.v2"
1514)
1615
1716// TLSHealthcheckConfiguration defines a TLS healthcheck configuration
@@ -38,7 +37,6 @@ type TLSHealthcheck struct {
3837 TLSConfig * cryptotls.Config
3938
4039 Tick * time.Ticker
41- t tomb.Tomb
4240}
4341
4442// Validate validates the healthcheck configuration
You can’t perform that action at this time.
0 commit comments