Fix table sourced controller pointing in *storage calls in svc

This commit is contained in:
Jarrod Johnson 2013-10-27 16:49:25 -04:00
parent bb351003dc
commit 06fe33434a

View File

@ -445,8 +445,8 @@ sub mkstorage_single {
}
if (defined $args{controller}) {
$controller = $args{controller};
} elsif ($cfg->{controller}) {
$controller = $cfg->{controller};
} elsif ($cfg->[0]->{controller}) {
$controller = $cfg->[0]->{controller};
$controller =~ s/.*,//;
}
my %lunargs = (controller=>$controller, size=>$size, pool=>$pool);