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

Fixed InDesiredState in PSAdapter Test operations #562

Closed
wants to merge 1 commit into from

Conversation

anmenaga
Copy link
Contributor

PR Summary

Fix #284

Adding a special case to dsc.exe to set top-level InDesiredState result from same field returned from PSAdapter.

@SteveL-MSFT
Copy link
Member

@anmenaga you need to add the new version of cc to our CFS feed

}))

// Special case for PSAdapters - Test operation in them returns a single 'InDesiredState' property
if (resource.resource_type == "Microsoft.DSC/PowerShell")
Copy link
Member

Choose a reason for hiding this comment

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

I don't like special casing resources. I would prefer we wait until resources can propagate metadata and passes up a inDesiredState boolean which would be used universally

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok; As discusses this will be implemented after #467 using metadata.

@anmenaga anmenaga closed this Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DSC/PowerShellGroup incorrect group inDesiredState
2 participants