Github user kansal commented on the pull request: https://github.com/apache/cloudstack/pull/1418#issuecomment-211873904 @GabrielBrascher These adjustments can be done, but I don't see any point of introducing the function calls. Anyhow this code is not used anywhere else in the whole project. As far as readability is concerned, I think with the proper comments it should be just fine.
--- 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. ---