diff --git a/models/resources/storage/storage.go b/models/resources/storage/storage.go index 39e7f97..fd409ac 100644 --- a/models/resources/storage/storage.go +++ b/models/resources/storage/storage.go @@ -41,7 +41,7 @@ type StorageResource struct { resource_model.AbstractResource // AbstractResource contains the basic fields of an object (id, name) Acronym string `bson:"acronym,omitempty" json:"acronym,omitempty"` // Acronym is the acronym of the storage Type string `bson:"type,omitempty" json:"type,omitempty"` // Type is the type of the storage - SizeType StorageType `bson:"sizeType" json:"sizeType" default:"0"` // SizeType is the type of the storage size + SizeType StorageType `bson:"size_type" json:"size_type" default:"0"` // SizeType is the type of the storage size Size uint `bson:"size,omitempty" json:"size,omitempty"` // Size is the size of the storage Url *URL `bson:"url,omitempty" json:"url,omitempty"` // Will allow to select between several protocols Local bool `bson:"local" json:"local"` // Local is a flag that indicates if the storage is local