-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: improve code efficiency of Invoke-VcfHealthReport
#60
Conversation
Improvements around code efficiency: - Added $commandSwitch to create the -allDomains or -workloadDomain and -failureOnly input for a command - Refactored all `Publish-` calls to use $commandSwitch resulting in single command per element and reduction of ten lines of code per element - 50% reduction in lines of code for Invoke-VcfHealthReport Signed-off-by: Gary Blake <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
@GaryJBlake, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding
|
Signed-off-by: Gary Blake <[email protected]>
520626d
to
20ccddf
Compare
Invoke-VcfHealthReport
I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
In order to have a good experience with our community, we recommend that you read the contributing guidelines for making a pull request.
Summary of Pull Request
Improvements around code efficiency:
Publish-
calls to use $commandSwitch resulting in single command per element and reduction of ten lines of code per elementSigned-off-by: Gary Blake [email protected]
Type of Pull Request
Related to Existing Issues
Issue Number: N/A
Test and Documentation Coverage
Breaking Changes?