Github user nlivens commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/801#discussion_r41980442
  
    --- Diff: 
plugins/network-elements/nuage-vsp/src/com/cloud/network/element/NuageVspElement.java
 ---
    @@ -303,13 +422,17 @@ protected boolean canHandle(Network network, Service 
service) {
             }
     
             if (!_networkModel.isProviderForNetwork(getProvider(), 
network.getId())) {
    -            s_logger.debug("NuageElement is not a provider for network " + 
network.getDisplayText());
    +            if (s_logger.isDebugEnabled()) {
    +                s_logger.debug("NuageElement is not a provider for network 
" + network.getDisplayText());
    +            }
                 return false;
             }
     
             if (service != null) {
                 if 
(!_ntwkSrvcDao.canProviderSupportServiceInNetwork(network.getId(), service, 
getProvider())) {
    -                s_logger.debug("NuageElement can't provide the " + 
service.getName() + " service on network " + network.getDisplayText());
    +                if (s_logger.isDebugEnabled()) {
    +                    s_logger.debug("NuageElement can't provide the " + 
service.getName() + " service on network " + network.getDisplayText());
    --- End diff --
    
    Changed <code>NuageElement</code> to <code>NuageVsp</code> to reflect the 
name of the provider. No additional context information needed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to