Skip to content

Commit

Permalink
No F1 tier on Web API with linux #638 (#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenba authored Oct 18, 2022
1 parent 2fed77b commit f719ddc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
<li>Compatibility with Rider 2022.3 EAP</li>
<li>Azure Functions: Add F# item templates for isolated worker (<a href="https://github.com/JetBrains/azure-tools-for-intellij/issues/635">#635</a>)</li>
</ul>
<h4>Fixed bugs:</h4>
<ul>
<li>No F1 tier on Web API with linux (<a href="https://github.com/JetBrains/azure-tools-for-intellij/issues/638">#638</a>)</li>
</ul>
</html>
]]>
</change-notes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
<li>Compatibility with Rider 2022.3 EAP</li>
<li>Azure Functions: Add F# item templates for isolated worker (<a href="https://github.com/JetBrains/azure-tools-for-intellij/issues/635">#635</a>)</li>
</ul>
<h4>Fixed bugs:</h4>
<ul>
<li>No F1 tier on Web API with linux (<a href="https://github.com/JetBrains/azure-tools-for-intellij/issues/638">#638</a>)</li>
</ul>
<p>[3.50.0-2022.2]</p>
<ul>
<li>Compatibility with Rider 2022.2</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ class WebAppCreateNewComponent(lifetime: Lifetime) :
/**
* Filter Pricing Tier based on Operating System
*
* Note: We should hide "Free" and "Shared" Pricing Tiers for Linux OS
* Note: We should hide "Shared" Pricing Tiers for Linux OS
*/
private fun filterPricingTiers(operatingSystem: OperatingSystem,
prices: List<PricingTier>): List<PricingTier> {
if (operatingSystem == OperatingSystem.WINDOWS) return prices
return prices.filter { it != PricingTier.FREE_F1 && it != PricingTier.SHARED_D1 }
return prices.filter { it != PricingTier.SHARED_D1 }
}
}

0 comments on commit f719ddc

Please sign in to comment.