Skip to content

Commit 2e59bcf

Browse files
committed
ManagementServerImpl: Fix NPE, PluggableService should not return null list
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent dd675a1 commit 2e59bcf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1819,8 +1819,9 @@ public static boolean isAdmin(short accountType) {
18191819

18201820
@Override
18211821
public List<Class<?>> getCommands() {
1822+
List<Class<?>> cmdList = new ArrayList<Class<?>>();
18221823
//TODO: Add cmd classes
1823-
return null;
1824+
return cmdList;
18241825
}
18251826

18261827
protected class EventPurgeTask implements Runnable {

0 commit comments

Comments
 (0)