Skip to content

Commit

Permalink
Merge pull request #71 from MissionCriticalCloud/cosmic_api_version_l…
Browse files Browse the repository at this point in the history
…abel

changed to cosmic-version so the api error page will show cosmic
  • Loading branch information
remibergsma authored Sep 16, 2016
2 parents c94b6ed + b8812b9 commit 43208e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ private static String toXMLSerializedString(final ResponseObject result, final S
if (result != null && log != null) {
final StringBuilder sb = new StringBuilder();
sb.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
sb.append("<").append(result.getResponseName()).append(" cloud-stack-version=\"").append(ApiDBUtils.getVersion()).append("\">");
sb.append("<").append(result.getResponseName()).append(" cosmic-version=\"").append(ApiDBUtils.getVersion()).append("\">");
log.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
log.append("<").append(result.getResponseName()).append(" cloud-stack-version=\"").append(ApiDBUtils.getVersion()).append("\">");
log.append("<").append(result.getResponseName()).append(" cosmic-version=\"").append(ApiDBUtils.getVersion()).append("\">");

if (result instanceof ListResponse) {
final Integer count = ((ListResponse) result).getCount();
Expand Down

0 comments on commit 43208e5

Please # to comment.