Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abdul committed Aug 17, 2017
1 parent 24b91ad commit 577e279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mbs/mongo_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ def _set_balancer_state(self, val):
logger.info("Setting balancer stopped state to: %s" % stopped_state)
self.config_db().settings.update(
{"_id": "balancer"},
{"$set": {"stopped": not stopped_state}},
{"$set": {"stopped": stopped_state}},
upsert=True
)

Expand Down

0 comments on commit 577e279

Please sign in to comment.