add purchase resource in model catalog
This commit is contained in:
@@ -175,7 +175,7 @@ func (r *PricedStorageResource) GetPrice() (float64, error) {
|
||||
if len(r.PricingProfiles) == 0 {
|
||||
return 0, errors.New("pricing profile must be set on Priced Storage" + r.ResourceID)
|
||||
}
|
||||
*r.SelectedPricing = r.PricingProfiles[0]
|
||||
r.SelectedPricing = &r.PricingProfiles[0]
|
||||
}
|
||||
pricing := *r.SelectedPricing
|
||||
var err error
|
||||
|
||||
Reference in New Issue
Block a user