|
|
@@ -145,6 +145,7 @@ type CustomPricing struct {
|
|
|
AzureBillingRegion string `json:"azureBillingRegion"`
|
|
|
CurrencyCode string `json:"currencyCode"`
|
|
|
Discount string `json:"discount"`
|
|
|
+ NegotiatedDiscount string `json:"negotiatedDiscount"`
|
|
|
ClusterName string `json:"clusterName"`
|
|
|
}
|
|
|
|
|
|
@@ -191,6 +192,9 @@ func CustomPricesEnabled(p Provider) bool {
|
|
|
if err != nil {
|
|
|
return false
|
|
|
}
|
|
|
+ if config.NegotiatedDiscount == "" {
|
|
|
+ config.NegotiatedDiscount = "0%"
|
|
|
+ }
|
|
|
|
|
|
return config.CustomPricesEnabled == "true"
|
|
|
}
|