Skip to content

Commit c6e5697

Browse files
committed
CLOUDSTACK-4481:API: listEventTypes returns nothing; raises ERROR in MS
logs.
1 parent 2807d08 commit c6e5697

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/server/ManagementServerImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3699,7 +3699,7 @@ public boolean updateHostPassword(UpdateHostPasswordCmd cmd) {
36993699
public String[] listEventTypes() {
37003700
Object eventObj = new EventTypes();
37013701
Class<EventTypes> c = EventTypes.class;
3702-
Field[] fields = c.getDeclaredFields();
3702+
Field[] fields = c.getFields();
37033703
String[] eventTypes = new String[fields.length];
37043704
try {
37053705
int i = 0;

0 commit comments

Comments
 (0)