DestroyNetwork: fixed regression bug - the call always returns false after finishing the transaction. Return true instead.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9c773fbd Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9c773fbd Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9c773fbd Branch: refs/heads/master Commit: 9c773fbd6866e07513a8b53050111e83bed484b0 Parents: b436a82 Author: Alena Prokharchyk <[email protected]> Authored: Thu Oct 31 13:51:25 2013 -0700 Committer: Alena Prokharchyk <[email protected]> Committed: Thu Oct 31 15:25:57 2013 -0700 ---------------------------------------------------------------------- .../cloudstack/engine/orchestration/NetworkOrchestrator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9c773fbd/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java ---------------------------------------------------------------------- diff --git a/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java b/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java index 5636e07..ddec9fc 100755 --- a/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java +++ b/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java @@ -2187,7 +2187,7 @@ public class NetworkOrchestrator extends ManagerBase implements NetworkOrchestra } } }); - return false; + return true; } catch ( CloudRuntimeException e ) { s_logger.error("Failed to delete network", e); return false;
