From ca1a1682b8c1786517718c2422f5727311e1bd44 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 13 Jul 2009 19:42:59 +0000 Subject: [PATCH] -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 --- xCAT-server/lib/xcat/plugins/esx.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 3a82346c1..249c21699 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -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; }