mirror of https://github.com/apache/cloudstack.git
set the state field, not unused local
Signed-off-by: Dave Brosius <dbrosius@mebigfatguy.com>
This commit is contained in:
parent
b33a8371bc
commit
3fd95fe231
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue