Skip to content

Commit b877479

Browse files
authored
fix capital letters to test automation (#53)
1 parent cedf3c0 commit b877479

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/Public/Capacity/Get-FabricCapacities.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ function Get-FabricCapacities {
6464
# For each resource group, get all resources of type "Microsoft.Fabric/capacities"
6565
foreach ($r in $rgs) {
6666
# Get all resources of type "Microsoft.Fabric/capacities" and add them to the results array
67-
$res += Get-AzResource -ResourceGroupName $r.ResourceGroupName -resourcetype "Microsoft.Fabric/capacities" -ErrorAction SilentlyContinue
67+
$res += Get-AzResource -ResourceGroupName $r.ResourceGroupName -ResourceType "Microsoft.Fabric/capacities" -ErrorAction SilentlyContinue
6868
}
6969
}
7070
}
7171

7272
# Return the results
7373
return $res
74-
}
74+
}

0 commit comments

Comments
 (0)