From d09ed4bf766b092ea2b129eb0bc9b2de373e7cd1 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 28 Mar 2024 19:12:06 +0100 Subject: [PATCH] esxi: status: mark as active if its mounted Signed-off-by: Thomas Lamprecht --- src/PVE/Storage/ESXiPlugin.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/PVE/Storage/ESXiPlugin.pm b/src/PVE/Storage/ESXiPlugin.pm index ff34aaa..4212c36 100644 --- a/src/PVE/Storage/ESXiPlugin.pm +++ b/src/PVE/Storage/ESXiPlugin.pm @@ -405,7 +405,9 @@ sub check_connection { sub status { my ($class, $storeid, $scfg, $cache) = @_; - return (0, 0, 0, 0); + my $active = is_mounted($storeid) ? 1 : 0; + + return (0, 0, 0, $active); } sub parse_volname {