diff --git a/app/models/manageiq/providers/awx/automation_manager/job.rb b/app/models/manageiq/providers/awx/automation_manager/job.rb index 694a863..6b26651 100644 --- a/app/models/manageiq/providers/awx/automation_manager/job.rb +++ b/app/models/manageiq/providers/awx/automation_manager/job.rb @@ -4,7 +4,7 @@ class ManageIQ::Providers::Awx::AutomationManager::Job < require_nested :Status belongs_to :ext_management_system, :foreign_key => :ems_id, :class_name => "ManageIQ::Providers::AutomationManager" - belongs_to :job_template, :foreign_key => :orchestration_template_id, :class_name => "ConfigurationScript" + belongs_to :job_template, :foreign_key => :configuration_script_id, :class_name => "ConfigurationScript" belongs_to :playbook, :foreign_key => :configuration_script_base_id virtual_has_many :job_plays