Skip to content

Commit 3fd95fe

Browse files
mebigfatguyDaanHoogland
authored andcommitted
set the state field, not unused local
Signed-off-by: Dave Brosius <dbrosius@mebigfatguy.com>
1 parent b33a837 commit 3fd95fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engine/schema/src/com/cloud/network/dao/NetworkVO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public NetworkVO(TrafficType trafficType, Mode mode, BroadcastDomainType broadca
189189
this.dataCenterId = dataCenterId;
190190
this.physicalNetworkId = physicalNetworkId;
191191
if (state == null) {
192-
state = State.Allocated;
192+
this.state = State.Allocated;
193193
} else {
194194
this.state = state;
195195
}

0 commit comments

Comments
 (0)