From 915492b44ab9c43e7950565ea3d3f4bf6d6d1087 Mon Sep 17 00:00:00 2001 From: nott Date: Fri, 2 Nov 2012 13:48:48 +0000 Subject: [PATCH] remove msgs from getNodeDomains git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/NetworkUtils.pm | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/perl-xCAT/xCAT/NetworkUtils.pm b/perl-xCAT/xCAT/NetworkUtils.pm index de1055143..199a337c0 100755 --- a/perl-xCAT/xCAT/NetworkUtils.pm +++ b/perl-xCAT/xCAT/NetworkUtils.pm @@ -70,29 +70,16 @@ sub getNodeDomains() { my $class = shift; my $nodes = shift; - my $callback = shift; my @nodelist = @$nodes; my %nodedomains; # Get the network info for each node my %nethash = xCAT::DBobjUtils->getNetwkInfo(\@nodelist, $callback); - if (!(%nethash) && $::VERBOSE) - { - my $rsp; - push @{$rsp->{data}}, "Could not get xCAT network definitions for one or more nodes.\n"; - xCAT::MsgUtils->message("W", $rsp, $callback); - } # get the site domain value my @domains = xCAT::TableUtils->get_site_attribute("domain"); my $sitedomain = $domains[0]; - if (!$sitedomain && $::VERBOSE) - { - my $rsp; - push @{$rsp->{data}}, "Cannot get a domain value from the cluster site definition.\n"; - xCAT::MsgUtils->message("W", $rsp, $callback); - } # for each node - set hash value to network domain or default # to site domain