mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	-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:
		| @@ -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']); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user