Fix the mistake that removing callback from the SLP.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13366 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-07-29 13:42:03 +00:00
parent 356f765c83
commit cb28d3555c

View File

@ -140,9 +140,9 @@ sub dodiscover {
}
$rspcount++;
$rethash{$peername} = $result;
#if ($args{Callback}) {
# $args{Callback}->($result);
#}
if ($args{Callback}) {
$args{Callback}->($result);
}
}
}
@peerarray = ();