Skip to content

Commit

Permalink
Merge pull request #61 from aravindnc/main
Browse files Browse the repository at this point in the history
Fix to use mongo client if MongoDB verison is less than or equal to 4.
  • Loading branch information
marcuspoehls committed May 21, 2024
2 parents b827754 + 12b898a commit 268fb2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start-mongodb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fi


echo "::group::Selecting correct MongoDB client"
if [ "`echo $MONGODB_VERSION | cut -c 1`" = "4" ]; then
if [ "`echo $MONGODB_VERSION | cut -c 1`" -le "4" ]; then
MONGODB_CLIENT="mongo"
fi
echo " - Using MongoDB client: [$MONGODB_CLIENT]"
Expand Down

0 comments on commit 268fb2c

Please sign in to comment.