software packages and deploying
This commit is contained in:
@@ -38,6 +38,8 @@ def job_state_key(job: SoftwareJob) -> str:
|
||||
if job_type == "job_definition":
|
||||
definition_id = job_definition_id(job)
|
||||
return f"job_definition:{definition_id}" if definition_id else f"job_definition:job:{job.id}"
|
||||
if job_type == "software_deployment":
|
||||
return f"software_deployment:{job.package_id}:{job.action}"[:120]
|
||||
return job_type[:120]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user