Skip to content

Commit 4eda8d0

Browse files
(DOCSP-17901): remove deprecated crud commands from meko docs
1 parent 8ca1cfb commit 4eda8d0

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

source/includes/steps-resize-storage.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ content: |
2323
name: <my-replica-set>
2424
spec:
2525
members: 3
26-
version: "4.0.4"
26+
version: "4.4.0"
2727
project: my-project
2828
credentials: my-credentials
2929
type: ReplicaSet
@@ -45,7 +45,7 @@ content: |
4545
.. code-block:: sh
4646
4747
$kubectl exec -it <my-replica-set>-0 \
48-
/var/lib/mongodb-mms-automation/mongodb-linux-x86_64-4.0.4/bin/mongo
48+
/var/lib/mongodb-mms-automation/mongodb-linux-x86_64-4.4.0/bin/mongo
4949
5050
b. Insert data into the ``test`` database.
5151
@@ -56,9 +56,12 @@ content: |
5656
5757
switched to db test
5858
59-
<my-replica-set>:PRIMARY> db.tmp.insert({"foo":"bar"})
59+
<my-replica-set>:PRIMARY> db.tmp.insertOne({"foo":"bar"})
6060
61-
WriteResult({ "nInserted" : 1 })
61+
{
62+
"acknowledged" : true,
63+
"insertedId" : ObjectId("61128cb4a783c3c57ae5142d")
64+
}
6265
6366
---
6467
stepnum: 3
@@ -128,7 +131,7 @@ content: |
128131
name: <my-replica-set>
129132
spec:
130133
members: 3
131-
version: "4.0.4"
134+
version: "4.4.0"
132135
project: my-project
133136
credentials: my-credentials
134137
type: ReplicaSet
@@ -174,7 +177,7 @@ content: |
174177
.. code-block:: sh
175178
176179
$ kubectl exec -it <my-replica-set>-1 \
177-
/var/lib/mongodb-mms-automation/mongodb-linux-x86_64-4.0.4/bin/mongo
180+
/var/lib/mongodb-mms-automation/mongodb-linux-x86_64-4.4.0/bin/mongo
178181
179182
.. code-block:: javascript
180183
:copyable: false

0 commit comments

Comments
 (0)