Skip to content

fix: incorrect warnings for policies#82

Merged
archit017 merged 1 commit intomainfrom
warn
Jan 21, 2026
Merged

fix: incorrect warnings for policies#82
archit017 merged 1 commit intomainfrom
warn

Conversation

@archit017
Copy link
Copy Markdown
Contributor

This PR fixes incorrect warnings for policy assignments and definitions.

Changes

  • Fixed schema mapper to properly handle policy-related warnings
  • Removed unnecessary warning logic from policy assignment
  • Cleaned up test assertions

Files Changed

  • src/azure-policyassignment/lib/policy-assignment.ts - Removed incorrect warning logic
  • src/azure-policyassignment/test/policy-assignment.spec.ts - Updated tests
  • src/core-azure/lib/azapi/schema-mapper/schema-mapper.ts - Fixed schema mapping

Testing

All existing tests pass with the changes.

@archit017 archit017 merged commit bc3c383 into main Jan 21, 2026
27 of 33 checks passed
@archit017 archit017 deleted the warn branch January 21, 2026 19:58
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.

2 participants