sureshanaparti commented on code in PR #9873:
URL: https://github.com/apache/cloudstack/pull/9873#discussion_r1900081283
##########
server/src/main/java/org/apache/cloudstack/storage/template/VnfTemplateManagerImpl.java:
##########
@@ -268,18 +268,18 @@ protected Map<Network, String>
getManagementNetworkAndIp(VirtualMachineTemplate
continue;
}
if
(!networkModel.areServicesSupportedInNetwork(network.getId(),
Network.Service.StaticNat)) {
- logger.info(String.format("Network ID: %s does not support
static nat, " +
- "skipping this network configuration for VNF
appliance", network.getUuid()));
+ logger.info("Network ID: {} does not support static nat, "
+
+ "skipping this network configuration for VNF
appliance", network);
continue;
}
if (network.getVpcId() != null) {
- logger.info(String.format("Network ID: %s is a VPC tier, "
+
- "skipping this network configuration for VNF
appliance", network.getUuid()));
+ logger.info("Network ID: {} is a VPC tier, " +
Review Comment:
```suggestion
logger.info("Network: {} is a VPC tier, " +
```
--
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]