We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69fc502 commit 9a07724Copy full SHA for 9a07724
.evergreen/provision-atlas.sh
@@ -42,7 +42,7 @@ DATABASE=$DATABASE \
42
$PYTHON_BINARY $SCAFFOLD_SCRIPT
43
44
# If a search index configuration can be found, create the index
45
-if [ -f "$TARGET_DIR/indexes" ]; then
+if [ -d "$TARGET_DIR/indexes" ]; then
46
for file in "$TARGET_DIR/indexes/*.json"; do
47
$atlas deployments search indexes create --file $file --deploymentName $DIR
48
done
0 commit comments