@@ -289,14 +289,14 @@ public String buildResponse(ServerApiException apiException, String responseType
289289 StringBuffer sb = new StringBuffer ();
290290 if (RESPONSE_TYPE_JSON .equalsIgnoreCase (responseType )) {
291291 // JSON response
292- sb .append ("{ \" " + getCommandName () + "\" : { " + "\" @attributes\" :{\" cloudstack -version\" :\" " + _mgr .getVersion () + "\" }," );
292+ sb .append ("{ \" " + getCommandName () + "\" : { " + "\" @attributes\" :{\" cloud-stack -version\" :\" " + _mgr .getVersion () + "\" }," );
293293 sb .append ("\" errorcode\" : \" " + apiException .getErrorCode () + "\" , \" description\" : \" " + apiException .getDescription () + "\" } }" );
294294 } else {
295295 sb .append ("<?xml version=\" 1.0\" encoding=\" ISO-8859-1\" ?>" );
296296 sb .append ("<" + getCommandName () + ">" );
297297 sb .append ("<errorcode>" + apiException .getErrorCode () + "</errorcode>" );
298298 sb .append ("<description>" + escapeXml (apiException .getDescription ()) + "</description>" );
299- sb .append ("</" + getCommandName () + " cloudstack -version=\" " + _mgr .getVersion () + "\" >" );
299+ sb .append ("</" + getCommandName () + " cloud-stack -version=\" " + _mgr .getVersion () + "\" >" );
300300 }
301301 return sb .toString ();
302302 }
@@ -307,10 +307,10 @@ public String buildResponse(List<Pair<String, Object>> tagList, String responseT
307307
308308 // set up the return value with the name of the response
309309 if (RESPONSE_TYPE_JSON .equalsIgnoreCase (responseType )) {
310- prefixSb .append ("{ \" " + getCommandName () + "\" : { \" @attributes\" :{\" cloudstack -version\" :\" " + _mgr .getVersion () + "\" }," );
310+ prefixSb .append ("{ \" " + getCommandName () + "\" : { \" @attributes\" :{\" cloud-stack -version\" :\" " + _mgr .getVersion () + "\" }," );
311311 } else {
312312 prefixSb .append ("<?xml version=\" 1.0\" encoding=\" ISO-8859-1\" ?>" );
313- prefixSb .append ("<" + getCommandName () + " cloudstack -version=\" " + _mgr .getVersion () + "\" >" );
313+ prefixSb .append ("<" + getCommandName () + " cloud-stack -version=\" " + _mgr .getVersion () + "\" >" );
314314 }
315315
316316 int i = 0 ;
0 commit comments