Commit f70b49b
committed
feat(linstorvolumemanager): raise when empty device path is detected (#104)
In `_request_device_path`:
Before this change, an exception was thrown when a resource was missing,
but not when the returned path was empty. Now it's raised in both cases.
Signed-off-by: Ronan Abhamon <[email protected]>1 parent 47a4d56 commit f70b49b
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2391 | 2391 | | |
2392 | 2392 | | |
2393 | 2393 | | |
2394 | | - | |
| 2394 | + | |
2395 | 2395 | | |
2396 | 2396 | | |
| 2397 | + | |
2397 | 2398 | | |
2398 | | - | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
2399 | 2403 | | |
2400 | 2404 | | |
2401 | 2405 | | |
| |||
0 commit comments