From 496cb79b1c5899fe54deea58474f32debb739ac4 Mon Sep 17 00:00:00 2001 From: Gulsum Atici Date: Fri, 18 Oct 2024 16:47:13 +0300 Subject: [PATCH] chore: expose the method getConfigClientConn (#77) * chore: expose the method getConfigClientConn Signed-off-by: gatici * chore: update version Signed-off-by: gatici --------- Signed-off-by: gatici --- VERSION | 2 +- proto/client/gClient.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/VERSION b/VERSION index b1eab86..8af85be 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.3-dev +1.5.3 diff --git a/proto/client/gClient.go b/proto/client/gClient.go index 9514fef..22da94c 100644 --- a/proto/client/gClient.go +++ b/proto/client/gClient.go @@ -56,8 +56,8 @@ type ConfClient interface { // on created channel and returns the channel PublishOnConfigChange(metadataRequested bool, stream protos.ConfigService_NetworkSliceSubscribeClient) chan *protos.NetworkSliceResponse - // getConfigClientConn returns grpc connection object - getConfigClientConn() *grpc.ClientConn + // GetConfigClientConn returns grpc connection object + GetConfigClientConn() *grpc.ClientConn // Client Subscribing channel to ConfigPod to receive configuration subscribeToConfigPod(commChan chan *protos.NetworkSliceResponse, stream protos.ConfigService_NetworkSliceSubscribeClient) @@ -145,8 +145,8 @@ func newClientConnection(host string) (conn *grpc.ClientConn, err error) { return conn, nil } -// getConfigClientConn exposes the GRPC client connection -func (confClient *ConfigClient) getConfigClientConn() *grpc.ClientConn { +// GetConfigClientConn exposes the GRPC client connection +func (confClient *ConfigClient) GetConfigClientConn() *grpc.ClientConn { return confClient.Conn }