enh oracle tablespace mode no result found (#1243)
This commit is contained in:
parent
aa35d5a993
commit
f9bc24ed96
|
@ -394,13 +394,19 @@ sub manage_selection {
|
|||
$used = $size - $free;
|
||||
}
|
||||
|
||||
$self->{tablespace}->{$name} = { used => $used,
|
||||
free => $free,
|
||||
total => $size,
|
||||
prct_used => $percent_used,
|
||||
display => lc $name };
|
||||
$self->{tablespace}->{$name} = {
|
||||
used => $used,
|
||||
free => $free,
|
||||
total => $size,
|
||||
prct_used => $percent_used,
|
||||
display => lc($name)
|
||||
};
|
||||
}
|
||||
|
||||
if (scalar(keys %{$self->{tablespace}}) <= 0) {
|
||||
$self->{output}->add_option_msg(short_msg => "No tablespaces found.");
|
||||
$self->{output}->option_exit();
|
||||
}
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
Loading…
Reference in New Issue