Skip to content

Commit d66f1ad

Browse files
build: passing context parameter as required
Version 0.18.0 of github.com/kubernetes-csi/csi-lib-utils added support for structured logging. This commit includes passing the context parameter for the necessary function. ref: kubernetes-csi/csi-lib-utils#149 Signed-off-by: Praveen M <[email protected]>
1 parent c1aa091 commit d66f1ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sidecar/internal/client/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ type clientImpl struct {
5252

5353
// Connect to the GRPC client
5454
func (c *clientImpl) connect(address string) (*grpc.ClientConn, error) {
55-
return connection.Connect(address, metrics.NewCSIMetricsManager(""), connection.OnConnectionLoss(connection.ExitOnConnectionLoss()))
55+
return connection.Connect(context.TODO(), address, metrics.NewCSIMetricsManager(""), connection.OnConnectionLoss(connection.ExitOnConnectionLoss()))
5656
}
5757

5858
// New creates and returns the GRPC client

0 commit comments

Comments
 (0)