Commit 19a48b2b authored by Kirk Webb's avatar Kirk Webb
Browse files

Add missing "where node_id = .." clause to lease renewal update statment.

parent be8b5f28
......@@ -1352,8 +1352,9 @@ class Node:
print self.leasedata
self.lease = lease.lease(self.leasedata)
DBQueryFatal("update plab_slice_nodes"
" set leasedata = %s, leaseend = %s",
(self.leasedata, self.lease.end_time))
" set leasedata = %s, leaseend = %s"
" where node_id = %s",
(self.leasedata, self.lease.end_time, self.nodeid))
return 0
def emulabify(self, rootballpath = DEFAULT_DATA_PATH,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment