Skip to content

Commit

Permalink
build: passing context parameter as required
Browse files Browse the repository at this point in the history
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.

Signed-off-by: Praveen M <[email protected]>
  • Loading branch information
iPraveenParihar authored and mergify[bot] committed Jun 28, 2024
1 parent 171ba6a commit 34228c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/liveness/liveness.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func recordLiveness(endpoint, drivername string, pollTime, timeout time.Duration
log.FatalLogMsg(err.Error())
}

csiConn, err := connlib.Connect(endpoint, liveMetricsManager)
csiConn, err := connlib.Connect(context.Background(), endpoint, liveMetricsManager)
if err != nil {
// connlib should retry forever so a returned error should mean
// the grpc client is misconfigured rather than an error on the network
Expand Down

0 comments on commit 34228c6

Please sign in to comment.