Skip to content

Commit 9fbb35d

Browse files
Anthony XuDaanHoogland
authored andcommitted
fixed a typo
(cherry picked from commit 4020792)
1 parent aa9f518 commit 9fbb35d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ protected NicProfile createPrivateNicProfileForGateway(VpcGateway privateGateway
12651265
NicProfile privateNicProfile = new NicProfile();
12661266

12671267
if (privateNic != null) {
1268-
VirtualMachine vm = _vmDao.findById(privateNic.getId());
1268+
VirtualMachine vm = _vmDao.findById(privateNic.getInstanceId());
12691269
privateNicProfile =
12701270
new NicProfile(privateNic, privateNetwork, privateNic.getBroadcastUri(), privateNic.getIsolationUri(), _networkModel.getNetworkRate(
12711271
privateNetwork.getId(), vm.getId()), _networkModel.isSecurityGroupSupportedInNetwork(privateNetwork), _networkModel.getNetworkTag(

0 commit comments

Comments
 (0)