Skip to content
Snippets Groups Projects
Commit 31b1f6ab authored by joe's avatar joe
Browse files

Correcting typo.

parent 15878198
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ class EtcdSession(inmemory_interface.InMemorySession): ...@@ -41,7 +41,7 @@ class EtcdSession(inmemory_interface.InMemorySession):
idx = self.db.conn.read(path).modifiedIndex idx = self.db.conn.read(path).modifiedIndex
opts = {'prevIndex': idx} opts = {'prevIndex': idx}
except KeyError: except KeyError:
opts = {'prevExists': False} opts = {'prevExist': False}
# Will raise ValueError if the test fails. # Will raise ValueError if the test fails.
try: try:
...@@ -188,7 +188,7 @@ class EtcdInterface(base.DbInterface): ...@@ -188,7 +188,7 @@ class EtcdInterface(base.DbInterface):
} }
self.conn.write(path, json.dumps(audit)) self.conn.write(path, json.dumps(audit))
try: try:
self.conn.write(path, json.dumps(audit), prevExists=False) self.conn.write(path, json.dumps(audit), prevExist=False)
except ValueError: except ValueError:
pass pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment