-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
This commit is contained in:
jbjohnso 2008-07-18 19:39:51 +00:00
parent 9792aea585
commit 490a1af6e3

View File

@ -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']);