cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject [15/50] [abbrv] git commit: updated refs/heads/4.2 to a23322b
Date Mon, 26 Aug 2013 23:32:51 GMT
CLOUDSTACK-4481:API: listEventTypes returns nothing; raises ERROR in MS
logs.

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f501c7bb
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f501c7bb
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f501c7bb

Branch: refs/heads/4.2
Commit: f501c7bbe1ba3fca4071daa520230a34323900cb
Parents: c6928f2
Author: Min Chen <min.chen@citrix.com>
Authored: Fri Aug 23 15:19:20 2013 -0700
Committer: Min Chen <min.chen@citrix.com>
Committed: Fri Aug 23 15:19:20 2013 -0700

----------------------------------------------------------------------
 server/src/com/cloud/server/ManagementServerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f501c7bb/server/src/com/cloud/server/ManagementServerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/server/ManagementServerImpl.java b/server/src/com/cloud/server/ManagementServerImpl.java
index 94f7684..d1e4e5f 100755
--- a/server/src/com/cloud/server/ManagementServerImpl.java
+++ b/server/src/com/cloud/server/ManagementServerImpl.java
@@ -3738,7 +3738,7 @@ public class ManagementServerImpl extends ManagerBase implements ManagementServe
     public String[] listEventTypes() {
         Object eventObj = new EventTypes();
         Class<EventTypes> c = EventTypes.class;
-        Field[] fields = c.getDeclaredFields();
+        Field[] fields = c.getFields();
         String[] eventTypes = new String[fields.length];
         try {
             int i = 0;


Mime
View raw message