2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

modified depending on comments

This commit is contained in:
XuWei 2018-03-15 23:04:24 -04:00
parent 06f178c7e7
commit 49d19b9017
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ class OpenBMCPowerTask(ParallelNodesCommand):
try:
obmc.clear_dump('all')
except (SelfServerException, SelfClientException) as e:
self.callback.warn('%s: Could not clear BMC diagnostics successfully %s, ignoring...' % (node, e.message))
self.callback.warn('%s: Could not clear BMC diagnostics successfully %s' % (node, e.message))
try:
obmc.reboot_bmc(optype)

View File

@ -3879,7 +3879,7 @@ sub rspconfig_dump_response {
my $dump_id = $status_info{RSPCONFIG_DUMP_CLEAR_RESPONSE}{argv};
xCAT::MsgUtils->message("I", { data => ["[$dump_id] clear"] }, $callback) unless ($next_status{ $node_info{$node}{cur_status} });
} else {
my $error_msg = "Could not clear BMC diagnostics successfully (". $response_info->{'message'} . "), ignoring...";
my $error_msg = "Could not clear BMC diagnostics successfully (". $response_info->{'message'} . ")";
xCAT::MsgUtils->message("W", { data => ["$node: $error_msg"] }, $callback) if ($next_status{ $node_info{$node}{cur_status} });
}
}