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

Ignore property storageAccountSubscriptionId for use-resource-id-func… #11094

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

StephenWeatherford
Copy link
Contributor

@StephenWeatherford StephenWeatherford commented Jun 29, 2023

Fixes #11051

Microsoft Reviewers: Open in CodeFlow

@github-actions
Copy link
Contributor

Test Results (linux-x64)

       33 files  ±0         33 suites  ±0   37m 36s ⏱️ + 3m 56s
10 104 tests ±0  10 104 ✔️ ±0  0 💤 ±0  0 ±0 
12 320 runs  ±0  12 320 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 5bb4244. ± Comparison against base commit 262a092.

@github-actions
Copy link
Contributor

Test Results (linux-musl-x64)

       33 files  ±0         33 suites  ±0   27m 59s ⏱️ - 4m 51s
10 104 tests ±0  10 104 ✔️ ±0  0 💤 ±0  0 ±0 
12 320 runs  ±0  12 320 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 5bb4244. ± Comparison against base commit 262a092.

@github-actions
Copy link
Contributor

Test Results (win-x64)

       33 files  ±0         33 suites  ±0   35m 46s ⏱️ - 3m 1s
10 116 tests ±0  10 116 ✔️ ±0  0 💤 ±0  0 ±0 
12 331 runs  ±0  12 331 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 5bb4244. ± Comparison against base commit 262a092.

@github-actions
Copy link
Contributor

Test Results (osx-x64)

       33 files  ±0         33 suites  ±0   1h 24m 31s ⏱️ - 5m 1s
10 108 tests ±0  10 108 ✔️ ±0  0 💤 ±0  0 ±0 
12 324 runs  ±0  12 324 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 5bb4244. ± Comparison against base commit 262a092.

@@ -52,7 +52,7 @@ public Exclusion(string? regexResourceType, string? propertyName)
// Some of the names are unique enough (and for backwards compat with the ARM TTK) that we won't worry about matching against
// an exact resource type, plus some of them occur in multiple resource types.

// Both resource type and property name are case-insensitive
// Resource type is a regex pattern (case-insensitive), property name is an exact match (case-insensitive)
Copy link
Contributor

Choose a reason for hiding this comment

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

Are property names only checked for exact matches for performance reasons or to avoid false positives?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For performance and regex didn't seem to be needed. I considered adding RegEx with this PR but figured I'd wait for now.

@StephenWeatherford StephenWeatherford merged commit 53dfa5e into main Jun 30, 2023
@StephenWeatherford StephenWeatherford deleted the sw/ignore-subid branch June 30, 2023 19:34
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.

Not correct "Problem" shown in Visual Studio Code: Linter rule - use resource ID functions
3 participants