mirror of
https://github.com/ansible/awx.git
synced 2026-03-08 21:19:26 -02:30
Adopt the node_type field in receptor logic (#10802)
* Adopt the node_type field in receptor logic * Refactor Instance.objects.register so we do not reset capacity to 0
This commit is contained in:
@@ -76,6 +76,7 @@ class TaskManager:
|
||||
SimpleNamespace(
|
||||
obj=instance,
|
||||
version=instance.version,
|
||||
node_type=instance.node_type,
|
||||
remaining_capacity=instance.remaining_capacity,
|
||||
capacity=instance.capacity,
|
||||
jobs_running=instance.jobs_running,
|
||||
|
||||
Reference in New Issue
Block a user