Azure / nxtools

Azure Automanage Machine Configuration Linux DSC resources
Other
13 stars 13 forks source link

Fix nxService crashing when service does not exist #35

Closed gurrajatwal closed 1 year ago

gurrajatwal commented 1 year ago

Pull Request (PR) description

The nxService resource crashes when auditing a service that does not exist. The if statement that was supposed to handle this case had the wrong condition.

This Pull Request (PR) fixes the following issues

Task list

eehret commented 1 year ago

@gurrajatwal , @kwirkykat Thank you both for working on this. We are waiting on the release of this fix as well as a number of others, so I'm eager to learn when the next package will be pushed to Powershell Gallery. Do you have a rough idea when the next version might appear there? Thanks again! :)