Skip to content

Commit

Permalink
Fix for issue Azure#7522
Browse files Browse the repository at this point in the history
  • Loading branch information
mentat9 committed Jan 15, 2019
1 parent ec36dfa commit b37dc22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected PSObject[] GetFilteredOutputObjects(string resourceType, ListFilter fi
return true;
}
var policyType = result.GetPSObjectProperty("Properties.policyType");
var policyType = ((PSObject)result.Properties["Properties"].Value).Properties["policyType"].Value;
return policyType == null || string.Equals(policyType.ToString(), filter.ToString(), StringComparison.OrdinalIgnoreCase);
};

Expand Down

0 comments on commit b37dc22

Please sign in to comment.