mirror of https://github.com/apache/cloudstack.git
VPC : CS-15464, revoked static route will not be sent out
This commit is contained in:
parent
04142986c7
commit
36eafbdb2c
|
|
@ -25,8 +25,10 @@ public class SetStaticRouteAnswer extends Answer{
|
|||
|
||||
public SetStaticRouteAnswer(SetStaticRouteCommand cmd, boolean success, String[] results) {
|
||||
super(cmd, success, null);
|
||||
assert (cmd.getStaticRoutes().length == results.length) : "Static routes and their results should be the same length";
|
||||
this.results = results;
|
||||
if (cmd.getStaticRoutes() != null && results != null ) {
|
||||
assert (cmd.getStaticRoutes().length == results.length) : "Static routes and their results should be the same length";
|
||||
this.results = results;
|
||||
}
|
||||
}
|
||||
|
||||
public String[] getResults() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue