Skip to content

Commit 7204c7a

Browse files
committed
Merge branch 'fealebenpae/enterprise-search-snippets' into lsierant/search-snippets-refactor
2 parents 46750bd + 7bf4672 commit 7204c7a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

controllers/operator/mongodbreplicaset_controller.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,9 @@ func AddReplicaSetController(ctx context.Context, mgr manager.Manager, imageUrls
421421
err = c.Watch(source.Kind(mgr.GetCache(), &searchv1.MongoDBSearch{},
422422
handler.TypedEnqueueRequestsFromMapFunc(func(ctx context.Context, search *searchv1.MongoDBSearch) []reconcile.Request {
423423
source := search.GetMongoDBResourceRef()
424+
if source == nil {
425+
return []reconcile.Request{}
426+
}
424427
return []reconcile.Request{{NamespacedName: types.NamespacedName{Namespace: source.Namespace, Name: source.Name}}}
425428
})))
426429
if err != nil {

docs/search/01-search-community-deploy/env_variables_e2e_private_dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export K8S_CTX="kind-kind"
22

33
# patch id from evergreen patch
4-
version_id="688de361d940720007dc0267"
4+
version_id="68b05bc033f868000714f715"
55

66
search_image_repo="268558157000.dkr.ecr.eu-west-1.amazonaws.com/mongot"
77
search_image_hash="fbd60fb055dd500058edcb45677ea85d19421f47"

0 commit comments

Comments
 (0)