From 21c86f633150452b57c63e492c7e77fbedeeff56 Mon Sep 17 00:00:00 2001 From: Sabbir Date: Tue, 5 Nov 2024 18:10:22 +0600 Subject: [PATCH] Remove hcf.ClientClosed() from cassandra/client.go Signed-off-by: Sabbir --- cassandra/client.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cassandra/client.go b/cassandra/client.go index 48f9d5c8..958bec31 100644 --- a/cassandra/client.go +++ b/cassandra/client.go @@ -6,7 +6,6 @@ import ( "github.com/gocql/gocql" "k8s.io/klog/v2" - health "kmodules.xyz/client-go/tools/healthchecker" ) type Client struct { @@ -78,9 +77,8 @@ func (c *Client) PingCassandra() error { return nil } -func (c *Client) CloseCassandraClient(hcf *health.HealthCard) { +func (c *Client) CloseCassandraClient() { if c != nil { c.Close() } - hcf.ClientClosed() }