mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Print out the data from the Rest call for the Current and Transition States
This commit is contained in:
parent
9834644ab2
commit
7b67ff1533
@ -734,6 +734,11 @@ sub rpower_response {
|
||||
|
||||
my $response_info = decode_json $response->content;
|
||||
|
||||
foreach my $key (keys %{$response_info->{data}}) {
|
||||
# Debug, print out the Current and Transition States
|
||||
print "$node: DEBUG host_states $key=$response_info->{'data'}->{$key}\n";
|
||||
}
|
||||
|
||||
if ($node_info{$node}{cur_status} eq "RPOWER_ON_RESPONSE") {
|
||||
if ($response_info->{'message'} eq $::RESPONSE_OK) {
|
||||
xCAT::SvrUtils::sendmsg("on", $callback, $node);
|
||||
|
Loading…
x
Reference in New Issue
Block a user