@@ -308,14 +308,14 @@ public String buildResponse(ServerApiException apiException, String responseType
308308 StringBuffer sb = new StringBuffer ();
309309 if (RESPONSE_TYPE_JSON .equalsIgnoreCase (responseType )) {
310310 // JSON response
311- sb .append ("{ \" " + getCommandName () + "\" : { " + "\" @attributes\" :{\" cloud-stack -version\" :\" " + _mgr .getVersion () + "\" }," );
311+ sb .append ("{ \" " + getCommandName () + "\" : { " + "\" @attributes\" :{\" cloudstack -version\" :\" " + _mgr .getVersion () + "\" }," );
312312 sb .append ("\" errorcode\" : \" " + apiException .getErrorCode () + "\" , \" description\" : \" " + apiException .getDescription () + "\" } }" );
313313 } else {
314314 sb .append ("<?xml version=\" 1.0\" encoding=\" ISO-8859-1\" ?>" );
315315 sb .append ("<" + getCommandName () + ">" );
316316 sb .append ("<errorcode>" + apiException .getErrorCode () + "</errorcode>" );
317317 sb .append ("<description>" + escapeXml (apiException .getDescription ()) + "</description>" );
318- sb .append ("</" + getCommandName () + " cloud-stack -version=\" " + _mgr .getVersion () + "\" >" );
318+ sb .append ("</" + getCommandName () + " cloudstack -version=\" " + _mgr .getVersion () + "\" >" );
319319 }
320320 return sb .toString ();
321321 }
@@ -326,10 +326,10 @@ public String buildResponse(List<Pair<String, Object>> tagList, String responseT
326326
327327 // set up the return value with the name of the response
328328 if (RESPONSE_TYPE_JSON .equalsIgnoreCase (responseType )) {
329- prefixSb .append ("{ \" " + getCommandName () + "\" : { \" @attributes\" :{\" cloud-stack -version\" :\" " + _mgr .getVersion () + "\" }," );
329+ prefixSb .append ("{ \" " + getCommandName () + "\" : { \" @attributes\" :{\" cloudstack -version\" :\" " + _mgr .getVersion () + "\" }," );
330330 } else {
331331 prefixSb .append ("<?xml version=\" 1.0\" encoding=\" ISO-8859-1\" ?>" );
332- prefixSb .append ("<" + getCommandName () + " cloud-stack -version=\" " + _mgr .getVersion () + "\" >" );
332+ prefixSb .append ("<" + getCommandName () + " cloudstack -version=\" " + _mgr .getVersion () + "\" >" );
333333 }
334334
335335 int i = 0 ;
0 commit comments