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:
parent
73f4faefb3
commit
d09ed4bf76
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user