default to subscription

This commit is contained in:
mr
2026-03-13 14:25:04 +01:00
parent aeebd8b5b2
commit 2cdf15d722
4 changed files with 9 additions and 4 deletions

View File

@@ -2,6 +2,7 @@ package resources
import (
"errors"
"fmt"
"strings"
"time"
@@ -95,6 +96,7 @@ type ComputeResourcePricingProfile struct {
}
func (p *ComputeResourcePricingProfile) IsPurchasable() bool {
fmt.Println("Buying", p.Pricing.BuyingStrategy)
return p.Pricing.BuyingStrategy == pricing.PERMANENT
}