Skip to content
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

Bug: xService Get-TargetResource throws when Ensure is 'Absent' #213

Closed
PlagueHO opened this issue Aug 31, 2016 · 0 comments · Fixed by #216
Closed

Bug: xService Get-TargetResource throws when Ensure is 'Absent' #213

PlagueHO opened this issue Aug 31, 2016 · 0 comments · Fixed by #216
Labels
bug The issue is a bug. in progress The issue is being actively worked on by someone.

Comments

@PlagueHO
Copy link
Member

Writing full integration and unit tests for this resource has exposed an error (I do love it when good test coverage exposes issues 😄 ) in xService.

If the service does not exist , which it should not when Ensure = 'Absent', then Get-TargetResource throws an exception:
Service 'DscTestService' not found.

If there are no objections I'll fix this issue as part of #210, #212.

@kwirkykat kwirkykat added bug The issue is a bug. in progress The issue is being actively worked on by someone. labels Aug 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug. in progress The issue is being actively worked on by someone.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants