-Fix traphandler use of new ipmi code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
4a6e7dd4ca
commit
cbbe6a3e3d
@ -2563,11 +2563,12 @@ sub fruwrite {
|
||||
|
||||
sub decodealert {
|
||||
my $sessdata = shift;
|
||||
unless ($sessdata) {
|
||||
die "not fixed yet";
|
||||
my $skip_sdrinit=0;
|
||||
unless (ref $sessdata) { #called from xcat traphandler
|
||||
$sessdata = { sdr_hash => {} };
|
||||
$skip_sdrinit=1; #TODO sdr_init, cache only to avoid high trap handling overhead
|
||||
}
|
||||
my $trap = shift;
|
||||
my $skip_sdrinit=0;
|
||||
if ($trap =~ /xCAT_plugin::ipmi/) {
|
||||
$trap=shift;
|
||||
$skip_sdrinit=1;
|
||||
|
Loading…
Reference in New Issue
Block a user