Skip to content

Commit

Permalink
log volumecontext
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffrey1330 committed Sep 12, 2024
1 parent bc3ede1 commit 7915709
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/spdk/nodeserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ func (ns *nodeServer) NodeStageVolume(_ context.Context, req *csi.NodeStageVolum
var initiator util.SpdkCsiInitiator
vc := req.GetVolumeContext()

klog.Infof("VolumeContext for volumeID %s: %+v", volumeID, vc)

// if ns.xpuConnClient != nil && ns.xpuTargetType != "" {
// vc["stagingParentPath"] = stagingParentPath
// initiator, err = util.NewSpdkCsiXpuInitiator(vc, ns.xpuConnClient, ns.xpuTargetType, ns.kvmPciBridges)
Expand Down

0 comments on commit 7915709

Please sign in to comment.