From 95a46acef180ac611763ff2da0b50dd14cc680e5 Mon Sep 17 00:00:00 2001 From: jjhua Date: Thu, 17 Mar 2011 08:13:19 +0000 Subject: [PATCH] output one message that System Temperature Not support in Direct FSP Management git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPvitals.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-xCAT/xCAT/FSPvitals.pm b/perl-xCAT/xCAT/FSPvitals.pm index df6e0fd8a..bc2d864ac 100644 --- a/perl-xCAT/xCAT/FSPvitals.pm +++ b/perl-xCAT/xCAT/FSPvitals.pm @@ -167,6 +167,8 @@ sub temp { while (my ($mtms,$h) = each(%$hash) ) { while (my ($name,$d) = each(%$h) ) { my $mtms = @$d[5]; + + push @result, [$name,"System Temperature Not support in Direct FSP Management",-1]; ################################# # No frame commands for IVM @@ -197,6 +199,8 @@ sub temp { } } + return( \@result ); + while (my ($mtms,$h) = each(%frame) ) { ################################# # Get temperatures this frame