mirror of https://github.com/apache/cloudstack.git
System Template shows twice in listTemplates with S3 as secondary
storage.
This commit is contained in:
parent
0633608f80
commit
24fc147ee8
|
|
@ -1964,7 +1964,7 @@ CREATE VIEW `cloud`.`template_view` AS
|
|||
left join
|
||||
`cloud`.`vm_template` source_template ON source_template.id = vm_template.source_template_id
|
||||
left join
|
||||
`cloud`.`template_store_ref` ON template_store_ref.template_id = vm_template.id
|
||||
`cloud`.`template_store_ref` ON template_store_ref.template_id = vm_template.id and template_store_ref.store_role = 'Image'
|
||||
left join
|
||||
`cloud`.`image_store` ON image_store.removed is NULL AND template_store_ref.store_id is not NULL AND image_store.id = template_store_ref.store_id
|
||||
left join
|
||||
|
|
|
|||
Loading…
Reference in New Issue