-Fix typo in previous checkin

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3765 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-07-13 19:42:59 +00:00
parent 09c0efb6ce
commit ca1a1682b8

View File

@ -481,7 +481,7 @@ sub get_hostview {
$subargs{properties}=$args{properties};
}
foreach (@{$args{conn}->find_entity_views(%subargs)}) {
if ($_->name =~ /$host(?:\.\z)/ or $_->name =~ /localhost(?:\.|\z)//) {
if ($_->name =~ /$host(?:\.\z)/ or $_->name =~ /localhost(?:\.|\z)/) {
return $_;
last;
}