-Comment unused line of code

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-07-08 17:58:19 +00:00
parent 68be9856f4
commit 2cf271a1f9

View File

@ -877,7 +877,7 @@ sub get_hostview {
$view = $args{conn}->find_entity_view(%subargs);
if ($view) { return $view; }
return undef; #rest of function should be obsoleted, going to run with that assumption for 2.5 at least
$subargs{filter}={'name' =~ qr/.*/};
# $subargs{filter}={'name' =~ qr/.*/};
# foreach (@{$args{conn}->find_entity_views(%subargs)}) {
# my $view = $_;
# if ($_->name =~ /$host(?:\.|\z)/ or $_->name =~ /localhost(?:\.|\z)/ or grep { $view->name =~ /$_(?:\.|\z)/ } @matchvalues) {