cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject [3/3] git commit: updated refs/heads/master to c6e5697
Date Fri, 23 Aug 2013 22:27:10 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/c6e56975
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c6e56975
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c6e56975

Branch: refs/heads/master
Commit: c6e569755f9cfbb5d5bccc12d88974bfdb97ddca
Parents: 2807d08
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:26:57 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/c6e56975/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 1423872..a936539 100755
--- a/server/src/com/cloud/server/ManagementServerImpl.java
+++ b/server/src/com/cloud/server/ManagementServerImpl.java
@@ -3699,7 +3699,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