Permalink
Browse files

MB-100: fix in NodeInitializeTask

Change-Id: If9463bd42980a6402c1c1d50bf0edb2be9188265
Reviewed-on: http://review.couchbase.org/22759
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>
Tested-by: Andrei Baranouski <andrei.baranouski@gmail.com>
  • Loading branch information...
1 parent 699f614 commit 1b47c42ff3a718860e51af009a9a8c755ca4e56c @andreibaranouski andreibaranouski committed with andreibaranouski Nov 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/tasks/task.py
View
@@ -88,9 +88,9 @@ def execute(self, task_manager):
username = self.server.rest_username
password = self.server.rest_password
- if self.disable_consistent_view is None:
+ if self.disable_consistent_view is not None:
rest.set_reb_cons_view(self.disable_consistent_view)
- if self.disable_consistent_view is None:
+ if self.disable_consistent_view is not None:
rest.set_reb_index_waiting(self.rebalanceIndexWaitingDisabled)
if self.rebalanceIndexPausingDisabled is not None:
rest.set_rebalance_index_pausing(self.rebalanceIndexPausingDisabled)

0 comments on commit 1b47c42

Please sign in to comment.