Skip to content

Commit c988392

Browse files
committed
1 parent 521b41c commit c988392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/miq_provision_virt_workflow.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def allowed_templates(options = {})
340340
end
341341

342342
# Only select the colums we need
343-
vms = vms.select(:id, :name, :guid, :uid_ems, :ems_id, :cloud_tenant_id)
343+
vms = vms.select(:id, :type, :name, :guid, :uid_ems, :ems_id, :cloud_tenant_id)
344344

345345
allowed_templates_list = source_vm_rbac_filter(vms, condition, VM_OR_TEMPLATE_EXTRA_COLS).to_a
346346
@allowed_templates_filter = filter_id

0 commit comments

Comments
 (0)