Fix the mistake that removing callback from the SLP.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-07-29 13:41:23 +00:00
parent 7c0744d25a
commit 7fb96a1b9f

View File

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