From d349ea977b7e93bf6ed687a41683d7c0748ad3c9 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 12 Jun 2008 02:19:27 +0000 Subject: [PATCH] -Fix event log retrieval of bladecenter management modules git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index bed6eea3a..b59128ce5 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -244,7 +244,8 @@ sub walkelog { if( ${_}->[2] =~ /NOSUCHINSTANCE/) {last;} $retmap->{$_->[1]}=$_->[2]; } - } while ($varbind->[31] and $varbind->[31]->[2] != 'NOSUCHINSTANCE' and ($current < 600)); + @bindlist=(); + } while ($varbind->[31] and $varbind->[31]->[2] ne 'NOSUCHINSTANCE' and ($current < 2000)); return $retmap; print "Count was $current\n";