From df556f7c7a86150cdd0a0f4d879a2bbe8146feb3 Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 22 Jul 2024 09:39:42 +0200 Subject: [PATCH] apropriate db --- entrypoint.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/entrypoint.go b/entrypoint.go index 2ea008a..62438c5 100644 --- a/entrypoint.go +++ b/entrypoint.go @@ -4,7 +4,6 @@ import ( "cloud.o-forge.io/core/oc-lib/dbs/mongo" "cloud.o-forge.io/core/oc-lib/logs" "cloud.o-forge.io/core/oc-lib/models" - "cloud.o-forge.io/core/oc-lib/models/resources" "cloud.o-forge.io/core/oc-lib/models/utils" "github.com/rs/zerolog" ) @@ -13,11 +12,12 @@ type LibDataEnum int const ( INVALID LibDataEnum = iota - DATA = resources.DATA - PROCESSING = resources.PROCESSING - STORAGE = resources.STORAGE - DATACENTER = resources.DATACENTER - WORKFLOW = resources.WORKFLOW + DATA_RESOURCE = utils.DATA_RESOURCE + PROCESSING_RESOURCE = utils.PROCESSING_RESOURCE + STORAGE_RESOURCE = utils.STORAGE_RESOURCE + DATACENTER_RESOURCE = utils.DATACENTER_RESOURCE + WORKFLOW_RESOURCE = utils.WORKFLOW_RESOURCE + WORKFLOW = utils.WORKFLOW ) func (d LibDataEnum) EnumIndex() int {