Skip to content

Commit

Permalink
changed to cosmic-version so the api error page will show cosmic inst…
Browse files Browse the repository at this point in the history
…ead of cloud-stack
  • Loading branch information
ddegoede committed Sep 2, 2016
1 parent 33c8e16 commit 00347f2
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 00347f2

Please # to comment.