From f1c40ec54f059363d86499a4175dcacde1bacf60 Mon Sep 17 00:00:00 2001 From: XuWei Date: Fri, 1 Sep 2017 04:34:57 -0400 Subject: [PATCH] fix a typo in openbmc.pm --- 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 2e164e1cd..0a76ce69f 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -1124,7 +1124,7 @@ sub gen_send_request { # Slightly different debug message when doing a file upload $debug_info = "curl -k -b cjar -X $method -H \"Content-Type: application/json\" -T $::UPLOAD_FILE $request_url"; } else { - $debug_info = "curl -k -b cjar -X $method -H \"Content-Type: application/json\" -d $content $request_url"; + $debug_info = "curl -k -b cjar -X $method -H \"Content-Type: application/json\" -d '$content' $request_url"; } } process_debug_info($node, $debug_info);