mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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…
x
Reference in New Issue
Block a user