From 22692d27648b995d885318f3cd664ac7541a1437 Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Tue, 5 Dec 2017 22:32:35 -0500 Subject: [PATCH] Update the print out based on the review comment, should not use since the regular expression is removed --- xCAT-server/lib/xcat/plugins/openbmc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/openbmc.pm b/xCAT-server/lib/xcat/plugins/openbmc.pm index 00c837fb2..d841c7d6b 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -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'};