mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-13 01:40:26 +00:00
Use xCAT::MsgUtils->message instead of xCAT::SvrUtils::sendmsg
This commit is contained in:
@ -4198,7 +4198,7 @@ sub dump_download_process {
|
||||
}
|
||||
if ($h->{message} eq $::RESPONSE_OK) {
|
||||
my $host_name = hostname();
|
||||
xCAT::SvrUtils::sendmsg("Downloading dump $dump_id to $host_name:$file_name", $callback, $node);
|
||||
xCAT::MsgUtils->message("I", { data => ["$node: Downloading dump $dump_id to $host_name:$file_name"] }, $callback);
|
||||
my $curl_dwld_result = `$curl_dwld_cmd -s`;
|
||||
if (!$curl_dwld_result) {
|
||||
if ($xcatdebugmode) {
|
||||
@ -4217,7 +4217,7 @@ sub dump_download_process {
|
||||
# Remove downloaded file, nothing useful inside of it
|
||||
unlink $file_name;
|
||||
} else {
|
||||
xCAT::SvrUtils::sendmsg("Downloaded dump $dump_id to $host_name:$file_name", $callback, $node) if ($::VERBOSE);
|
||||
xCAT::MsgUtils->message("I", { data => ["$node: Downloaded dump $dump_id to $host_name:$file_name"] }, $callback) if ($::VERBOSE);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user