5
0
mirror of git://git.proxmox.com/git/pve-storage.git synced 2024-12-22 13:34:16 +03:00

esxi: status: mark as active if its mounted

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2024-03-28 19:12:06 +01:00
parent 73f4faefb3
commit d09ed4bf76

View File

@ -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 {