From 703fcaffe680616a57a2dc36aeb6e012bc87c492 Mon Sep 17 00:00:00 2001 From: abhishek Date: Wed, 3 Nov 2010 09:46:17 -0700 Subject: [PATCH] bug 5190: cosmetic changes for the final result returned back to the UI, for Will to consume --- server/src/com/cloud/server/ManagementServerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/com/cloud/server/ManagementServerImpl.java b/server/src/com/cloud/server/ManagementServerImpl.java index 36f3c568e9a..48bf5de8283 100755 --- a/server/src/com/cloud/server/ManagementServerImpl.java +++ b/server/src/com/cloud/server/ManagementServerImpl.java @@ -6004,7 +6004,7 @@ public class ManagementServerImpl implements ManagementServer { return ("Updated:"+updatedCpIdList.size()+" out of:"+cpList.size()+" console proxies"); }else{ //failure case, if even one update fails - throw new ManagementServerException("Updated:"+updatedCpIdList.size()+" out of:"+cpList.size()+" console proxies with successfully updated console proxy ids being:"+updatedCpIdList.toString()); + throw new ManagementServerException("Updated:"+updatedCpIdList.size()+" out of:"+cpList.size()+" console proxies with successfully updated console proxy ids being:"+(updatedCpIdList.size() > 0 ? updatedCpIdList.toString():"")); } } else