rbd: remove context where its not being used

Signed-off-by: riya-singhal31 <rsinghal@redhat.com>
This commit is contained in:
riya-singhal31
2023-05-24 19:13:15 +05:30
committed by mergify[bot]
parent 38f5e860e2
commit 347b4d2885
4 changed files with 6 additions and 7 deletions

View File

@ -234,7 +234,7 @@ func (ns *NodeServer) populateRbdVol(
return nil, status.Error(codes.Internal, err.Error())
}
err = rv.initKMS(ctx, req.GetVolumeContext(), req.GetSecrets())
err = rv.initKMS(req.GetVolumeContext(), req.GetSecrets())
if err != nil {
return nil, status.Error(codes.Internal, err.Error())
}