From dd2b9d10af183e8dd997d2786638b25b92b0e79f Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 15 Jul 2009 15:13:46 +0000 Subject: [PATCH] update with use of _xcatpreprocessed git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/lsslp.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index b16c60f69..b84ecc706 100644 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -1883,7 +1883,7 @@ sub child_response { sub preprocess_request { my $req = shift; - if ($req->{_xcatdest}) { return [$req]; } #exit if preprocessed + if ($req->{_xcatpreprocessed}->[0] == 1) { return [$req]; } my $callback=shift; my @requests; @@ -1921,6 +1921,7 @@ sub preprocess_request { foreach my $sn (keys (%sv_hash)) { my $reqcopy = {%$req}; $reqcopy->{_xcatdest} = $sn; + $reqcopy->{_xcatpreprocessed}->[0] = 1; push @result, $reqcopy; } return \@result;