mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
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. Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
parent
171ba6a65d
commit
34228c6d0b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user