From 3cdb43074baf79a2611b3cddde74e333f75259e7 Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 13 Jan 2025 13:09:43 +0100 Subject: [PATCH] add exec --- models/resources/storage.go | 1 + 1 file changed, 1 insertion(+) 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