Skip to content

Commit e2d4b3a

Browse files
author
Sam Kleinman
committed
DOCS-1099: fixing get/set balancer state problem
1 parent 80ab8a5 commit e2d4b3a

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

source/reference/method/sh.getBalancerState.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,13 @@ sh.getBalancerState()
33
=====================
44

55
.. default-domain:: mongodb
6+
7+
.. method:: sh.getBalancerState()
8+
9+
:returns: boolean.
10+
11+
:method:`sh.getBalancerState()` returns ``true`` when the
12+
:term:`balancer` is enabled and false if the balancer is
13+
disabled. This does not reflect the current state of balancing
14+
operations: use :method:`sh.isBalancerRunning()` to check the
15+
balancer's current state.

source/reference/method/sh.setBalancerState.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,3 @@ sh.setBalancerState()
1313
:method:`sh.getBalancerState()` to determine if the balancer is
1414
currently enabled or disabled and :method:`sh.isBalancerRunning()`
1515
to check its current state.
16-
17-
.. sh.getBalancerState
18-
.. method:: sh.getBalancerState()
19-
20-
:returns: boolean.
21-
22-
:method:`sh.getBalancerState()` returns ``true`` when the
23-
:term:`balancer` is enabled and false when the balancer is
24-
disabled. This does not reflect the current state of balancing
25-
operations: use :method:`sh.isBalancerRunning()` to check the
26-
balancer's current state.

0 commit comments

Comments
 (0)