light modification
This commit is contained in:
		| @@ -16,7 +16,6 @@ import ( | ||||
|  */ | ||||
| type StorageResource struct { | ||||
| 	AbstractIntanciatedResource[*StorageResourceInstance]                  // AbstractResource contains the basic fields of an object (id, name) | ||||
| 	Source                                                string           `bson:"source,omitempty" json:"source,omitempty"`             // Source is the source of the storage | ||||
| 	StorageType                                           enum.StorageType `bson:"storage_type,omitempty" json:"storage_type,omitempty"` // Type is the type of the storage | ||||
| 	Acronym                                               string           `bson:"acronym,omitempty" json:"acronym,omitempty"`           // Acronym is the acronym of the storage | ||||
| } | ||||
| @@ -39,6 +38,7 @@ func (abs *StorageResource) ConvertToPricedResource( | ||||
|  | ||||
| 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      enum.StorageSize `bson:"size_type" json:"size_type" default:"0"`           // SizeType is the type of the storage size | ||||
|   | ||||
		Reference in New Issue
	
	Block a user