mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Reformatting if-else
This commit is contained in:
@@ -24,7 +24,8 @@ if (is_array($eql_storage)) {
|
||||
$used = $storage['eqliscsiVolumeStatusAllocatedSpace'] * $units;
|
||||
if (is_int($index)) {
|
||||
discover_storage($valid_storage, $device, $index, $fstype, 'eql-storage', $descr, $size, $units, $used);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
// Trying to search the last '.' and take something after it as index
|
||||
$arrindex = explode(".", $index);
|
||||
$newindex = (int)(end($arrindex))+0;
|
||||
|
Reference in New Issue
Block a user