default to subscription
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user