diff --git a/models/resources/storage.go b/models/resources/storage.go index bb96f55..52758f1 100644 --- a/models/resources/storage.go +++ b/models/resources/storage.go @@ -26,6 +26,7 @@ func (d *StorageResource) GetAccessor(request *tools.APIRequest) utils.Accessor type StorageResourceInstance struct { ResourceInstance[*StorageResourcePartnership] + Source string `bson:"source,omitempty" json:"source,omitempty"` // Source is the source of the storage Local bool `bson:"local" json:"local"` SecurityLevel string `bson:"security_level,omitempty" json:"security_level,omitempty"` SizeType common.StorageSize `bson:"size_type" json:"size_type" default:"0"` // SizeType is the type of the storage size