From 78b3536bcb648f622e7f1d8624e1d7a453e2e867 Mon Sep 17 00:00:00 2001 From: leiaibj Date: Fri, 2 Nov 2012 07:41:25 +0000 Subject: [PATCH] one minor bug for validate height for nodeimport git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/profilednodes.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/profilednodes.pm b/xCAT-server/lib/xcat/plugins/profilednodes.pm index fb6fa4775..b6ded7cfc 100644 --- a/xCAT-server/lib/xcat/plugins/profilednodes.pm +++ b/xCAT-server/lib/xcat/plugins/profilednodes.pm @@ -1501,8 +1501,8 @@ sub validate_node_entry{ return "Specified unit $node_entry{$_} is a invalid number"; } }elsif ($_ eq "height"){ - if (! exists $node_entry{"chassis"}){ - return "Chassis must be specified together with rack"; + if (! exists $node_entry{"racl"}){ + return "Height must be specified together with rack"; } # Not a valid number. if (!($node_entry{$_} =~ /^\d+$/)){