Skip to content

Commit

Permalink
Fix cloud workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrock committed Sep 3, 2019
1 parent 521b41c commit c988392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/miq_provision_virt_workflow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def allowed_templates(options = {})
end

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

allowed_templates_list = source_vm_rbac_filter(vms, condition, VM_OR_TEMPLATE_EXTRA_COLS).to_a
@allowed_templates_filter = filter_id
Expand Down

0 comments on commit c988392

Please sign in to comment.