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

Use the correct bitwise operator for combining flags in JSON model loader #10325

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

jeskew
Copy link
Contributor

@jeskew jeskew commented Apr 5, 2023

Resolves #10321

ArmTemplateSemanticModel is using the wrong operator to combine flags on secureString parameters (& vs |), which results in all flags being dropped. This PR corrects the operator and adds a regression test.

Microsoft Reviewers: Open in CodeFlow

@jeskew jeskew enabled auto-merge (squash) April 5, 2023 14:42
@jeskew jeskew merged commit de7fdd2 into main Apr 5, 2023
@jeskew jeskew deleted the jeskew/10321 branch April 5, 2023 15:27
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.

BCP180 triggers when passing secret to secure parameter on module from module repository
2 participants