Skip to content

Commit

Permalink
Fix bug in delete_members
Browse files Browse the repository at this point in the history
  • Loading branch information
miketonks committed Nov 24, 2015
1 parent 0d81086 commit 39ca5f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions helpers/keystore.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def delete(self, path, prevValue=None):
if prevValue is not None:
additional_params['prevValue'] = prevValue

logger.info("DELETE: /service/%s%s", self.scope, path)
self.client.delete("/service/%s%s" % (self.scope, path),
**additional_params)

Expand Down Expand Up @@ -105,7 +104,7 @@ def touch_member(self, member, connection_string):
self.set("/members/%s" % member, connection_string, ttl=self.ttl)

def delete_member(self, member):
self.client.delete("/members/%s" % member)
self.delete("/members/%s" % member)

def take_leader(self, value):
self.set("/leader", value, ttl=self.ttl)
Expand Down

0 comments on commit 39ca5f3

Please sign in to comment.