DaanHoogland commented on code in PR #10257:
URL: https://github.com/apache/cloudstack/pull/10257#discussion_r1939570390
##########
server/src/main/java/com/cloud/network/NetworkServiceImpl.java:
##########
@@ -1902,7 +1902,7 @@ protected void mtuCheckForVpcNetwork(Long vpcId,
Pair<Integer, Integer> interfac
}
s_logger.warn(String.format("VPC public MTU already set at VPC
creation phase to: %s. Ignoring public MTU " +
"passed during VPC network tier creation ",
vpc.getPublicMtu()));
- interfaceMTUs.set(vpc.getPublicMtu(), privateMtu);
+ interfaceMTUs.set(vpc.getPublicMtu(), interfaceMTUs.second());
Review Comment:
I think we can do with some more cleanup in this method. this method is
passed a pair of MTUs and a public and a private MTU.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]