Skip to content

Commit

Permalink
NVMe connect volume changes (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshitap26 authored Mar 4, 2022
1 parent 1e3e234 commit 4e81d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/node/stager.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ func (s *SCSIStager) connectNVMEDevice(ctx context.Context,
wwn string, data scsiPublishContextData) (gobrick.Device, error) {
logFields := common.GetLogFields(ctx)
var targets []gobrick.NVMeTCPTargetInfo
for _, t := range data.iscsiTargets {
for _, t := range data.nvmeTargets {
targets = append(targets, gobrick.NVMeTCPTargetInfo{Target: t.Target, Portal: t.Portal})
}
// separate context to prevent 15 seconds cancel from kubernetes
Expand Down

0 comments on commit 4e81d3f

Please sign in to comment.