mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
CLOUDSTACK-4481:API: listEventTypes returns nothing; raises ERROR in MS
logs.
This commit is contained in:
parent
2807d083db
commit
c6e569755f
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user