From 062c1afe85688b1db0d1060a36203800c7853929 Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 22 Jan 2025 12:04:38 +0100 Subject: [PATCH] light modification --- models/resources/compute.go | 2 +- models/resources/storage.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/models/resources/compute.go b/models/resources/compute.go index 0601ab8..6f793d4 100644 --- a/models/resources/compute.go +++ b/models/resources/compute.go @@ -61,7 +61,7 @@ type ComputeResourceInstance struct { } type ComputeResourcePartnership struct { - ResourcePartnerShip[*ComputeResourcePricingProfile] + *ResourcePartnerShip[*ComputeResourcePricingProfile] MaxAllowedCPUsCores map[string]int `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"` diff --git a/models/resources/storage.go b/models/resources/storage.go index 38ac6e8..78b899e 100644 --- a/models/resources/storage.go +++ b/models/resources/storage.go @@ -57,7 +57,7 @@ func (i *StorageResourceInstance) GetID() string { } type StorageResourcePartnership struct { - ResourcePartnerShip[*StorageResourcePricingProfile] + *ResourcePartnerShip[*StorageResourcePricingProfile] MaxSizeGBAllowed float64 `json:"allowed_gb,omitempty" bson:"allowed_gb,omitempty"` OnlyEncryptedAllowed bool `json:"personal_data_allowed,omitempty" bson:"personal_data_allowed,omitempty"` }