Skip to content

Commit

Permalink
Merge pull request #19237 from kbrock/miq_provision_virt_workflow_clo…
Browse files Browse the repository at this point in the history
…ud_tenant

Workflow cloud_tenant fix
  • Loading branch information
jrafanie committed Sep 3, 2019
2 parents 895fde8 + c988392 commit b598db0
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 b598db0

Please sign in to comment.