Commit 6f50f247 authored by Leigh B Stoller's avatar Leigh B Stoller

Set gid,gid_idx in apt failures/history tables.

parent a4d0533b
......@@ -592,6 +592,7 @@ sub RecordHistory($$)
DBQueryWarn("replace into apt_instance_history ".
"select uuid,name,profile_id,profile_version,slice_uuid, ".
" creator,creator_idx,creator_uuid,pid,pid_idx, ".
" gid,gid_idx, ".
" aggregate_urn,public_url,logfileid, ".
" created,now(),$expired, ".
" extension_count,extension_days, ".
......@@ -612,6 +613,7 @@ sub RecordError($$$)
DBQueryWarn("replace into apt_instance_failures ".
"select uuid,name,profile_id,profile_version,slice_uuid, ".
" creator,creator_idx,creator_uuid,pid,pid_idx, ".
" gid,gid_idx, ".
" created,'$exitcode',$safe_message,public_url, ".
" logfileid ".
" from apt_instances where uuid='$uuid'")
......
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