Skip to content

Commit ea903d3

Browse files
authored
Merge pull request #9816 from mahakjain314/fix-candidate
Bug fix for scope type
2 parents e6f8cbb + d558d88 commit ea903d3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/AlertsManagement/AlertsManagement/ActionRuleCommands/SetAzureActionRule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ private string DetermineScopeType(string value)
561561
}
562562
else if (tokens.Length >= 9)
563563
{
564-
return ScopeType.ResourceGroup;
564+
return ScopeType.Resource;
565565
}
566566
else
567567
{

src/Monitor/Monitor/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Fix bug in determining scope type for `Set-AzActionRule`
2122

2223
## Version 1.2.2
2324
* Fixed miscellaneous typos across module

0 commit comments

Comments
 (0)