Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
19a48b2b
Commit
19a48b2b
authored
Nov 17, 2003
by
Kirk Webb
Browse files
Add missing "where node_id = .." clause to lease renewal update statment.
parent
be8b5f28
Changes
1
Show whitespace changes
Inline
Side-by-side
tbsetup/plab/libplab.py.in
View file @
19a48b2b
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment