Skip to content

Commit ff12b72

Browse files
committed
remove api version bypass for a proper fix
1 parent 985941e commit ff12b72

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tools/ScenarioTest.ResourceManager/PermissiveRecordMatcherWithResourceApiExlcusion.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,6 @@ public static bool ContainsIgnoredProvider(
167167
// If we're looking at a specific provider and we have top level resource from this provider to ignore
168168
foreach (var resourceToIgnore in resourcesToIgnore)
169169
{
170-
if (requestUri.Contains("/databases") &&
171-
requestUri.Contains("/providers/Microsoft.Sql/managedInstances/"))
172-
{
173-
apiVersion = String.Empty;
174-
return true;
175-
}
176-
177170
string[] segments = requestUri.Split(new char[] { '/' }, options: StringSplitOptions.RemoveEmptyEntries);
178171

179172
// /subscriptions/.../resourceGroups/.../providers/Microsoft.X/resourceType...?api-version=Y

0 commit comments

Comments
 (0)