diff --git a/pkg/clients/grpc/connect.go b/pkg/clients/grpc/connect.go index e0605d4..3a49ec1 100644 --- a/pkg/clients/grpc/connect.go +++ b/pkg/clients/grpc/connect.go @@ -26,10 +26,6 @@ type Client interface { // Close closes gRPC connection. Close() error - // IsSecure is utility method for checking if - // the client is running with TLS enabled. - IsSecure() bool - // Secure is used for pretty printing TLS info. Secure() string @@ -66,10 +62,6 @@ func (c *client) Close() error { return nil } -func (c *client) IsSecure() bool { - return c.secure -} - func (c *client) Secure() string { if c.secure { return "with TLS"