-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:
parent
9792aea585
commit
490a1af6e3
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user