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

Added -Scope to the Resource to fix bugs with narrower scope always m… #9

Closed
wants to merge 3 commits into from

Conversation

HansOMartinsen
Copy link

@HansOMartinsen HansOMartinsen commented Oct 19, 2016

…aking Test-TargetResource returning false.

Signed-off-by: Hans O. Martinsen


This change is Reviewable

…aking Test-TargetResource returning false.

Signed-off-by: Hans O. Martinsen
Hans O. Martinsen added 2 commits October 19, 2016 22:26
@kwirkykat kwirkykat added the needs review The pull request needs a code review. label Oct 20, 2016
@ghost
Copy link

ghost commented Oct 28, 2016

Reviewed 3 of 4 files at r1, 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

}

It 'Returns correct execution policy for the correct Scope' {
$result = Get-TargetResource -ExecutionPolicy $(Get-ExecutionPolicy) -Scope 'LocalMachine'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ExecutionPolicy [](start = 68, length = 15)

I think you need to specify the parameter -Scope 'LocalMachine' in this and the line below.


It 'Returns correct execution policy for the correct Scope' {
$result = Get-TargetResource -ExecutionPolicy $(Get-ExecutionPolicy) -Scope 'LocalMachine'
$result.ExecutionPolicy | should be $(Get-ExecutionPolicy)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Get-ExecutionPolicy [](start = 54, length = 19)

Same comment as above.

@BerheAbrha
Copy link

🕐

@eshaparmar eshaparmar added waiting for author response The pull request is waiting for the author to respond to comments in the pull request. and removed needs review The pull request needs a code review. labels Nov 21, 2016
@dsccommunity dsccommunity deleted a comment from msftclas Sep 27, 2017
@johlju
Copy link
Member

johlju commented Apr 5, 2018

@HansOMartinsen are you able to work on this PR if I review? If so could you start by rebasing (git rebase) this PR to resolve the conflict? If you can’t work on this then let us know and someone else could continue the work. Thanks!

@johlju johlju added abandoned The pull request has been abandoned. and removed waiting for author response The pull request is waiting for the author to respond to comments in the pull request. labels Apr 30, 2018
@johlju
Copy link
Member

johlju commented Apr 30, 2018

Closing this as this is being worked on in PR #15

@johlju johlju closed this Apr 30, 2018
@SteveL-MSFT SteveL-MSFT added this to Abandoned in powershell/dscresources May 14, 2019
@SteveL-MSFT SteveL-MSFT removed this from Abandoned in powershell/dscresources Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abandoned The pull request has been abandoned.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants