Skip to content

Commit 1517851

Browse files
jameswahlinkay-kim
authored andcommitted
Update movePrimary.txt
Signed-off-by: kay <[email protected]>
1 parent 20f0a44 commit 1517851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/reference/command/movePrimary.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ movePrimary
2020

2121
.. code-block:: javascript
2222

23-
db.runCommand( { movePrimary: <currentPrimaryShard>, to: <newPrimaryShard> } )
23+
db.runCommand( { movePrimary: <databaseName>, to: <newPrimaryShard> } )
2424

2525
For example, the following command moves the primary shard from ``test`` to
2626
``shard0001``:

0 commit comments

Comments
 (0)