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