You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2013/11/09 14:20:07 UTC

git commit: updated refs/heads/master to 3fd95fe

Updated Branches:
  refs/heads/master b33a8371b -> 3fd95fe23


set the state field, not unused local

Signed-off-by: Dave Brosius <db...@mebigfatguy.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3fd95fe2
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3fd95fe2
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3fd95fe2

Branch: refs/heads/master
Commit: 3fd95fe231bdde6045b81fae0f6ff1bd4c2c0918
Parents: b33a837
Author: Dave Brosius <db...@mebigfatguy.com>
Authored: Sat Jun 29 17:04:13 2013 -0400
Committer: Daan Hoogland <da...@onecht.net>
Committed: Sat Nov 9 14:00:19 2013 +0100

----------------------------------------------------------------------
 engine/schema/src/com/cloud/network/dao/NetworkVO.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3fd95fe2/engine/schema/src/com/cloud/network/dao/NetworkVO.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/network/dao/NetworkVO.java b/engine/schema/src/com/cloud/network/dao/NetworkVO.java
index 6580ea0..8f13e9d 100644
--- a/engine/schema/src/com/cloud/network/dao/NetworkVO.java
+++ b/engine/schema/src/com/cloud/network/dao/NetworkVO.java
@@ -189,7 +189,7 @@ public class NetworkVO implements Network {
         this.dataCenterId = dataCenterId;
         this.physicalNetworkId = physicalNetworkId;
         if (state == null) {
-            state = State.Allocated;
+            this.state = State.Allocated;
         } else {
             this.state = state;
         }