missing datacenter resource
This commit is contained in:
parent
7b2da3ba94
commit
1d0b06ac4a
@ -3,7 +3,6 @@ package mongo
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
"slices"
|
||||
"time"
|
||||
|
||||
@ -276,8 +275,6 @@ func (m *MongoDB) LoadOne(id string, collection_name string) (*mongo.SingleResul
|
||||
}
|
||||
filter := bson.M{"_id": id}
|
||||
targetDBCollection := CollectionMap[collection_name]
|
||||
fmt.Println("collection_name", collection_name)
|
||||
fmt.Println("targetDBCollection", targetDBCollection, CollectionMap)
|
||||
MngoCtx, cancel = context.WithTimeout(context.Background(), 10*time.Second)
|
||||
defer cancel()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user