esxi: status: mark as active if its mounted
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -405,7 +405,9 @@ sub check_connection {
|
|||||||
sub status {
|
sub status {
|
||||||
my ($class, $storeid, $scfg, $cache) = @_;
|
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 {
|
sub parse_volname {
|
||||||
|
|||||||
Reference in New Issue
Block a user