Commit 79a6bf4e authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Fix cut/paste error. Ug.

parent 6125aaf2
......@@ -220,8 +220,8 @@ sub ExpireInstances()
DBQueryWarn("select a.uuid from apt_instances as a ".
"left join geni.geni_slices as s on s.uuid=a.slice_uuid ".
"where (a.status='ready') and ".
" (UNIX_TIMESTAMP(s.expires) > ".
" UNIX_TIMESTAMP(now()))");
" (UNIX_TIMESTAMP(now()) > ".
" UNIX_TIMESTAMP(s.expires))");
return
if (!$query_result);
......
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