mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
Address unused variables issue (#16327)
This commit is contained in:
@@ -107,11 +107,6 @@ def populate_claims_for_workload(unified_job) -> dict:
|
||||
Extract JWT claims from a Controller workload for the aap_controller_automation_job scope.
|
||||
"""
|
||||
|
||||
# Related objects in the UnifiedJob model, applies to all job types
|
||||
organization = getattr_dne(unified_job, 'organization')
|
||||
ujt = getattr_dne(unified_job, 'unified_job_template')
|
||||
instance_group = getattr_dne(unified_job, 'instance_group')
|
||||
|
||||
claims = {
|
||||
AutomationControllerJobScope.CLAIM_JOB_ID: unified_job.id,
|
||||
AutomationControllerJobScope.CLAIM_JOB_NAME: unified_job.name,
|
||||
|
||||
Reference in New Issue
Block a user