From 195f5b07946e9d79025d75e15959789a90dd5954 Mon Sep 17 00:00:00 2001 From: mr Date: Thu, 28 Nov 2024 11:17:02 +0100 Subject: [PATCH] some --- models/models.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/models.go b/models/models.go index 2d41aaf..92db19b 100644 --- a/models/models.go +++ b/models/models.go @@ -8,10 +8,10 @@ import ( "cloud.o-forge.io/core/oc-lib/models/collaborative_area" "cloud.o-forge.io/core/oc-lib/models/collaborative_area/rules/rule" "cloud.o-forge.io/core/oc-lib/models/peer" - "cloud.o-forge.io/core/oc-lib/models/resource_model" - d "cloud.o-forge.io/core/oc-lib/models/resources/data" "cloud.o-forge.io/core/oc-lib/models/resources/compute" + d "cloud.o-forge.io/core/oc-lib/models/resources/data" p "cloud.o-forge.io/core/oc-lib/models/resources/processing" + "cloud.o-forge.io/core/oc-lib/models/resources/resource_model" s "cloud.o-forge.io/core/oc-lib/models/resources/storage" w "cloud.o-forge.io/core/oc-lib/models/resources/workflow" "cloud.o-forge.io/core/oc-lib/models/utils" @@ -27,7 +27,7 @@ It's used to create the models dynamically var models = map[string]func() utils.DBObject{ tools.WORKFLOW_RESOURCE.String(): func() utils.DBObject { return &w.WorkflowResource{} }, tools.DATA_RESOURCE.String(): func() utils.DBObject { return &d.DataResource{} }, - tools.COMPUTE_RESOURCE.String(): func() utils.DBObject { return &compute.ComputeResource{} }, + tools.COMPUTE_RESOURCE.String(): func() utils.DBObject { return &compute.ComputeResource{} }, tools.STORAGE_RESOURCE.String(): func() utils.DBObject { return &s.StorageResource{} }, tools.PROCESSING_RESOURCE.String(): func() utils.DBObject { return &p.ProcessingResource{} }, tools.WORKFLOW.String(): func() utils.DBObject { return &w2.Workflow{} },