From 3a0d740da61f67cb799c583031386565e1a3912b Mon Sep 17 00:00:00 2001 From: David May <49894298+wass3rw3rk@users.noreply.github.com> Date: Tue, 24 Oct 2023 11:22:14 -0500 Subject: [PATCH] fix(services/mongo): make example work --- content/usage/examples/mongo.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/usage/examples/mongo.md b/content/usage/examples/mongo.md index d1417b1c3..2ad434fa6 100644 --- a/content/usage/examples/mongo.md +++ b/content/usage/examples/mongo.md @@ -45,7 +45,7 @@ steps: commands: # sleeping can help ensure the service adequate time to start + - sleep 15 - - "mongo --host mongo --eval \"{ ping: 1 }\"" + - /bin/mongosh --host mongo --eval 'db.runCommand("ping")' ``` ### Detach @@ -78,5 +78,5 @@ steps: commands: # sleeping can help ensure the service adequate time to start + - sleep 15 - - "mongo --host mongo --eval \"{ ping: 1 }\"" + - /bin/mongosh --host mongo --eval 'db.runCommand("ping")' ```