mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-2530: fix npe if no network isolation methods
Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
This commit is contained in:
parent
3ed9e42dd2
commit
973c43a152
@ -44,7 +44,7 @@ public class ListNetworkIsolationMethodsCmd extends BaseListCmd{
|
|||||||
isolationResponses.add(isolationMethod);
|
isolationResponses.add(isolationMethod);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
response.setResponses(isolationResponses, methods.length);
|
response.setResponses(isolationResponses, isolationResponses.size());
|
||||||
response.setResponseName(getCommandName());
|
response.setResponseName(getCommandName());
|
||||||
this.setResponseObject(response);
|
this.setResponseObject(response);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user