Skip to content

Commit 39a7613

Browse files
committed
Correcting the listShards syntax
1 parent be24b9f commit 39a7613

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

source/administration/sharding.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,8 @@ command, as follows:
427427

428428
.. code-block:: javascript
429429

430-
db.runCommand( { list shards : 1 } )
430+
use admin
431+
db.runCommand( { listShards : 1 } )
431432

432433
View Cluster Details
433434
~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)