From 490a1af6e32ef18e356abdee3fa410520d4d89bc Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 18 Jul 2008 19:39:51 +0000 Subject: [PATCH] -Fix iSCSI compliance with strict -Correct problem with service node distribution detection git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/iscsi.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/iscsi.pm b/xCAT-server/lib/xcat/plugins/iscsi.pm index 8d8fe36e7..078089f80 100644 --- a/xCAT-server/lib/xcat/plugins/iscsi.pm +++ b/xCAT-server/lib/xcat/plugins/iscsi.pm @@ -1,4 +1,5 @@ package xCAT_plugin::iscsi; +use strict; use xCAT::Table; use Socket; use File::Path; @@ -26,7 +27,7 @@ sub preprocess_request { my $callback = shift; my @requests = (); my %iscsiserverhash; - if ($req->{_xcatdest}) { return [$req]; } + if ($request->{_xcatdest}) { return [$request]; } my $iscsitab = xCAT::Table->new('iscsi'); foreach my $node (@{$request->{node}}) { my $tent = $iscsitab->getNodeAttribs($node,['server']);