Skip to content

Commit

Permalink
Removed duplicate code block
Browse files Browse the repository at this point in the history
  • Loading branch information
BaldMansMojo committed Jun 9, 2022
1 parent 9cf7453 commit 664e8e2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions modules/host_storage_info.pm
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,6 @@ sub host_storage_info
$true_sub_sel = 0;
}

if (!defined($subselect))
{
# This means no given subselect. So all checks must be performemed
# Therefore with all set no threshold check can be performed
$subselect = "all";
$true_sub_sel = 0;
}

$storage = Vim::get_view(mo_ref => $host_view->configManager->storageSystem, properties => ['storageDeviceInfo']);

if (($subselect eq "adapter") || ($subselect eq "all"))
Expand Down

0 comments on commit 664e8e2

Please sign in to comment.