We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dbcf95 commit fd40512Copy full SHA for fd40512
src/Advisor/Advisor/Cmdlets/Utilities/RecommendationHelper.cs
@@ -51,8 +51,8 @@ public static List<PsAzureAdvisorResourceRecommendationBase> RecommendationFilte
51
52
List<PsAzureAdvisorResourceRecommendationBase> filteredList = new List<PsAzureAdvisorResourceRecommendationBase>();
53
54
- // Filter by category only if its a valid input
55
- if (Category.Cost.Equals(category) || Category.HighAvailability.Equals(category) || Category.Performance.Equals(category) || Category.Security.Equals(category))
+ // Filter by category
+ if (!string.IsNullOrEmpty(category))
56
{
57
// If resourceGroup filtering is as well specified
58
if (!string.IsNullOrEmpty(resourceGroup))
0 commit comments