kick out print

This commit is contained in:
mr 2024-08-05 08:50:20 +02:00
parent e390dfa8a9
commit 1e8cb98098
2 changed files with 0 additions and 4 deletions

View File

@ -3,7 +3,6 @@ package mongo
import (
"context"
"errors"
"fmt"
"time"
"cloud.o-forge.io/core/oc-lib/dbs"
@ -290,7 +289,6 @@ func (m *MongoDB) Search(filters *dbs.Filters, collection_name string) (*mongo.C
MngoCtx, cancel = context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
fmt.Printf("Filter: %v %v %v\n", f, filters, filters.And)
if cursor, err := targetDBCollection.Find(
MngoCtx,
f,

View File

@ -2,7 +2,6 @@ package oclib
import (
"errors"
"fmt"
"cloud.o-forge.io/core/oc-lib/dbs"
"cloud.o-forge.io/core/oc-lib/dbs/mongo"
@ -115,7 +114,6 @@ func (wfa *workflowMongoAccessor) execute(workflow *Workflow) {
}
resource, _, err := accessor.Search(filters, "")
if err == nil && len(resource) > 0 {
fmt.Println(workflow.Serialize(), resource[0].GetID())
accessor.UpdateOne(&workspace.Workspace{
Active: true,
ResourceSet: resources.ResourceSet{