mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7111 Empty commandlist must return a succes
This commit is contained in:
parent
5651a13cfd
commit
a963fd34b5
|
|
@ -168,6 +168,10 @@ public class VirtualRoutingResource {
|
|||
|
||||
|
||||
private Answer applyConfig(NetworkElementCommand cmd, List<ConfigItem> cfg) {
|
||||
if (cfg.isEmpty()) {
|
||||
return new Answer(cmd, true, "Nothing to do");
|
||||
}
|
||||
|
||||
List<ExecutionResult> results = new ArrayList<ExecutionResult>();
|
||||
List<String> details = new ArrayList<String>();
|
||||
boolean finalResult = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue