2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Update the print out based on the review comment, should not use since the regular expression is removed

This commit is contained in:
Victor Hu 2017-12-05 22:32:35 -05:00
parent c29d0c960a
commit 22692d2764

View File

@ -1777,7 +1777,7 @@ sub deal_with_response {
if ($node_info{$node}{cur_status} eq "RFLASH_DELETE_IMAGE_RESPONSE") {
$error = "Invalid ID provided to delete. Use the -l option to view valid firmware IDs.";
} else {
$error = "[" . $response->code . "] Path or object not found: $1";
$error = "[" . $response->code . "] " . $response_info->{'data'}->{'description'};
}
} else {
$error = "[" . $response->code . "] " . $response_info->{'data'}->{'description'};