Skip to content

Commit 000d24b

Browse files
Fix the issue with the NVMe volume upstaging
1 parent 308dcd7 commit 000d24b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

trident-debug

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 03de142aa2a01d9b29618479d417ab9cfad218a8

utils/nvme/nvme_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ func (s *NVMeSubsystem) GetNVMeDeviceAt(ctx context.Context, nsUUID string) (*NV
343343
}
344344
}
345345

346-
return nil, fmt.Errorf("nvme device not found")
346+
return nil, errors.NotFoundError("no device found for the given namespace %v", nsUUID)
347347
}
348348

349349
// GetNVMeDeviceList returns the list of NVMe devices present on the k8s node.

0 commit comments

Comments
 (0)