suryag1201 commented on code in PR #14925:
URL: https://github.com/apache/cloudstack/pull/14925#discussion_r4773550025
##########
server/src/main/java/com/cloud/network/NetworkModelImpl.java:
##########
@@ -1413,7 +1413,7 @@ public boolean isProviderEnabledInPhysicalNetwork(long
physicalNetowrkId, String
PhysicalNetworkServiceProviderVO ntwkSvcProvider =
_pNSPDao.findByServiceProvider(physicalNetowrkId, providerName);
if (ntwkSvcProvider == null) {
logger.warn("Unable to find provider {} in physical network {}",
- providerName::toString, () ->
_physicalNetworkDao.findById(physicalNetowrkId));
+ () -> providerName, () ->
_physicalNetworkDao.findById(physicalNetowrkId));
Review Comment:
Thanks for the fix.
I noticed a similar case in isServiceEnabledInNetwork that may benefit from
the same approach.
--
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]