Skip to content

Commit f75761a

Browse files
author
Sam Kleinman
committed
style: fixing code block identification
1 parent 350b6ce commit f75761a

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

source/reference/method/sh.addShard.txt

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ sh.addShard()
1010
replica set configuration.
1111

1212
Use this method to add a database instance or replica set to a
13-
:term:`sharded cluster`.
14-
This method must be run on a :program:`mongos` instance.
15-
The ``host`` parameter can be in any of the following forms: ::
16-
17-
[hostname]
18-
[hostname]:[port]
19-
[set]/[hostname]
20-
[set]/[hostname],[hostname]:port
13+
:term:`sharded cluster`. This method must be run on a
14+
:program:`mongos` instance. The ``host`` parameter can be in any
15+
of the following forms:
16+
17+
.. code-block:: none
18+
19+
[hostname]
20+
[hostname]:[port]
21+
[set]/[hostname]
22+
[set]/[hostname],[hostname]:port
2123

2224
You can specify shards using the hostname, or a hostname and port
2325
combination if the shard is running on a non-standard port.

0 commit comments

Comments
 (0)