-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:
parent
09c0efb6ce
commit
ca1a1682b8
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user