change the output messages when the powerinterval value is invalid
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11153 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
f0ca0a1b7d
commit
685b8a7cfe
@ -275,6 +275,9 @@ sub powercmd {
|
||||
my $d = $hash->{$node_name};
|
||||
|
||||
if( $data =~ /Error/) {
|
||||
if( $data =~ /Power interval/) {
|
||||
$data = "Error: Invalid powerinterval value in the site table. The valid powerinerval value could be 0 to 300 .";
|
||||
}
|
||||
push @output, [$node_name, $data, -1];
|
||||
} else {
|
||||
push @output, [$node_name,"Success", 0];
|
||||
|
Loading…
Reference in New Issue
Block a user