Github user rafaelweingartner commented on the pull request:

    https://github.com/apache/cloudstack/pull/1337#issuecomment-171373038
  
    Hi @nitin-maharana, 
    What about a little change in your code?
    
    The complexity of that if/else structure that you are working on is too big.
    
    I believe that you can extract the code from lines 3673-3686 to a method 
that returns a Boolean indicating if there is a provider named “NetScaler”. 
Then you could do something like : 
    var lbProviderIsNetscaler = checkIfNetscalerProviderIsEnabled (services);



---
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