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

Correcting typo.

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