From deb618e5231f4468bb40ce71192a244cda5a690f Mon Sep 17 00:00:00 2001 From: Eric Zhang Date: Wed, 3 Jan 2024 18:29:51 +0000 Subject: [PATCH] Fix algolia_indexer synthetic monitor --- 10_integrations/algolia_indexer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/10_integrations/algolia_indexer.py b/10_integrations/algolia_indexer.py index 7dd29b19e..5fb85fc11 100644 --- a/10_integrations/algolia_indexer.py +++ b/10_integrations/algolia_indexer.py @@ -73,7 +73,8 @@ @stub.function( - image=algolia_image, secrets=[Secret.from_name("algolia-secret")] + image=algolia_image, + secrets=[Secret.from_name("algolia-secret", environment_name="main")], ) def crawl(): # Installed with a 3.6 venv; Python 3.6 is unsupported by Modal, so use a subprocess instead.