Commit 39e27e4
committed
csi: correct conditional logic for fuse mount options argument
Previously, the function incorrectly checked if `len(options) == 0`,
causing it to return a non-empty argument when no options were provided.
This fix updates the condition to `len(options) > 0`, ensuring the argument
is only set when options exist.
Signed-off-by: Praveen M <m.praveen@ibm.com>1 parent 31a93b4 commit 39e27e4
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
449 | | - | |
| 448 | + | |
| 449 | + | |
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| |||
0 commit comments