Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply case-spacing-insensitive diffing to all location properties (#2281
) All `location` properties in Azure are case- and space- insensitive, so both "West Europe" and "westeurope" are valid values representing the same region. This PR adjusts our diff calculation logic with this special rule. We get a diff calculated by vanilla platform diffing, then we check if there is an Update to the property called `location`, and if so, it normalizes both values and compares those. Any non-significant changes are ignored. Fix #1809 Fix #1005
- Loading branch information
1 parent
21a1c47
commit d6346cb
Showing
3 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters