DaanHoogland commented on code in PR #14469:
URL: https://github.com/apache/cloudstack/pull/14469#discussion_r4397925433
##########
server/src/main/java/com/cloud/network/vpc/VpcManagerImpl.java:
##########
@@ -2583,7 +2582,7 @@ public void doInTransactionWithoutResult(final
TransactionStatus status) {
try {
// check number of active networks in vpc
if (_ntwkDao.countVpcNetworks(vpc.getId()) >=
_maxNetworks) {
- logger.warn(String.format("Failed to create a new VPC
Guest Network because the number of networks per VPC has reached its maximum
capacity of [%s]. Increase it by modifying global config [%s].", _maxNetworks,
Config.VpcMaxNetworks));
+ logger.warn(String.format("Failed to create a new VPC
Guest Network because the number of networks per VPC has reached its maximum
capacity of [%s]. Increase it by modifying global config [%s].", _maxNetworks,
VpcMaxNetworks.key()));
Review Comment:
```suggestion
logger.warn("Failed to create a new VPC Guest
Network because the number of networks per VPC has reached its maximum capacity
of [{}]. Increase it by modifying global config [{}].", _maxNetworks,
VpcMaxNetworks.key());
```
--
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]