From a2907dc160c46b5bb46c9dfc3fdbb4eb31c32db6 Mon Sep 17 00:00:00 2001 From: Jia Zhao Date: Thu, 28 Aug 2014 17:28:59 +0800 Subject: [PATCH] fix message error in nodeimport --- xCAT-server/lib/xcat/plugins/profilednodes.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/profilednodes.pm b/xCAT-server/lib/xcat/plugins/profilednodes.pm index e4be89f29..76b5c87e5 100644 --- a/xCAT-server/lib/xcat/plugins/profilednodes.pm +++ b/xCAT-server/lib/xcat/plugins/profilednodes.pm @@ -2308,7 +2308,7 @@ sub validate_node_entry{ exists $node_entry{"switches"} || exists $node_entry{"cec"}){ } else{ - $errmsg .= "MAC address, cec, switch and port is not specified. You must specify the MAC address, CEC name or switch and port.\n"; + $errmsg .= "MAC address, cec, switches is not specified. You must specify the MAC address, CEC name or switches.\n"; } if (! xCAT::NetworkUtils->isValidHostname($node_name)){