provide imageID value to query
This commit is contained in:
parent
fffed47252
commit
cef08dd67f
1 changed files with 1 additions and 0 deletions
|
|
@ -3815,6 +3815,7 @@ def list_archives(buildID=None, buildrootID=None, componentBuildrootID=None, hos
|
|||
if imageID != None:
|
||||
# TODO: arg name is now a misnomer, could be any archive
|
||||
clauses.append('archive_components.archive_id = %(imageID)i')
|
||||
values['imageID'] = imageID
|
||||
joins.append('archive_components ON archiveinfo.id = archive_components.component_id')
|
||||
if hostID is not None:
|
||||
joins.append('standard_buildroot on archiveinfo.buildroot_id = standard_buildroot.buildroot_id')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue