[pve-devel] [PATCH storage] esxi plugin: remove invalid fixme

Fiona Ebner f.ebner at proxmox.com
Fri May 9 13:31:59 CEST 2025


No other plugin activates the storage inside the path() method either.
The caller needs to ensure that the storage is activated before using
the result of path().

Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
 src/PVE/Storage/ESXiPlugin.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/PVE/Storage/ESXiPlugin.pm b/src/PVE/Storage/ESXiPlugin.pm
index 6131c51..bedeac8 100644
--- a/src/PVE/Storage/ESXiPlugin.pm
+++ b/src/PVE/Storage/ESXiPlugin.pm
@@ -477,7 +477,6 @@ sub path {
 
     die "storage '$class' does not support snapshots\n" if defined $snapname;
 
-    # FIXME: activate/mount:
     return mount_dir($storeid) . '/' . $volname;
 }
 
-- 
2.39.5





More information about the pve-devel mailing list