Skip to content

Commit

Permalink
chore: expose the method getConfigClientConn (#77)
Browse files Browse the repository at this point in the history
* chore: expose the method getConfigClientConn

Signed-off-by: gatici <[email protected]>

* chore: update version

Signed-off-by: gatici <[email protected]>

---------

Signed-off-by: gatici <[email protected]>
  • Loading branch information
gatici authored Oct 18, 2024
1 parent eba7f71 commit 496cb79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.3-dev
1.5.3
8 changes: 4 additions & 4 deletions proto/client/gClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 496cb79

Please sign in to comment.