Skip to content

Commit

Permalink
Remove IsSecure
Browse files Browse the repository at this point in the history
Signed-off-by: rodneyosodo <[email protected]>
  • Loading branch information
rodneyosodo committed Jul 25, 2023
1 parent b6809fa commit 7fec10f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/clients/grpc/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 7fec10f

Please sign in to comment.