You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2f73e2b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(azure/managed-redis): fail closed on unknown terms and missing reservation price
- Add parseTermYears helper (mirrors synapse) to reject any term string
outside the explicit "1yr"/"3yr" allowlist instead of silently defaulting
to 1 year in PurchaseCommitment and GetOfferingDetails
- Remove hardcoded 45% reservation-price fallback in getRedisPricing; return
an error when the API returns no reservation price for the requested SKU
- Add TestPurchaseCommitment_InvalidTerm and TestGetOfferingDetails_InvalidTerm
to exercise the new error paths
0 commit comments