diff --git a/models/resources/compute.go b/models/resources/compute.go index 70ae929..b71de88 100755 --- a/models/resources/compute.go +++ b/models/resources/compute.go @@ -63,11 +63,11 @@ type ComputeResourceInstance struct { type ComputeResourcePartnership struct { ResourcePartnerShip[*ComputeResourcePricingProfile] - MinGaranteedCPUsCores map[string]int `json:"garanteed_cpus,omitempty" bson:"garanteed_cpus,omitempty"` + MinGaranteedCPUsCores map[string]float64 `json:"garanteed_cpus,omitempty" bson:"garanteed_cpus,omitempty"` MinGaranteedGPUsMemoryGB map[string]float64 `json:"garanteed_gpus,omitempty" bson:"garanteed_gpus,omitempty"` MinGaranteedRAMSize float64 `json:"garanteed_ram,omitempty" bson:"garanteed_ram,omitempty"` - MaxAllowedCPUsCores map[string]int `json:"allowed_cpus,omitempty" bson:"allowed_cpus,omitempty"` + MaxAllowedCPUsCores map[string]float64 `json:"allowed_cpus,omitempty" bson:"allowed_cpus,omitempty"` MaxAllowedGPUsMemoryGB map[string]float64 `json:"allowed_gpus,omitempty" bson:"allowed_gpus,omitempty"` MaxAllowedRAMSize float64 `json:"allowed_ram,omitempty" bson:"allowed_ram,omitempty"` }