Skip to content

Commit

Permalink
Merge pull request #30 from agrare/fix_job_job_template_class_name
Browse files Browse the repository at this point in the history
Fix Job#job_template class_name resolving to Awx namespace
  • Loading branch information
Fryguy authored Jul 22, 2024
2 parents dd834c1 + cacb0f8 commit 6a59c5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class ManageIQ::Providers::Awx::AutomationManager::Job <
ManageIQ::Providers::ExternalAutomationManager::OrchestrationStack

belongs_to :ext_management_system, :foreign_key => :ems_id, :class_name => "ManageIQ::Providers::AutomationManager"
belongs_to :job_template, :foreign_key => :configuration_script_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
Expand Down

0 comments on commit 6a59c5f

Please sign in to comment.