mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 03:17:39 -02:30
Merge pull request #3712 from jladdjr/iso_node_healthcheck_should_not_reset_capacity
Do not reset capacity of iso nodes when disabled Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -317,6 +317,7 @@ class IsolatedManager(object):
|
|||||||
Performs save on each instance to update its capacity.
|
Performs save on each instance to update its capacity.
|
||||||
'''
|
'''
|
||||||
try:
|
try:
|
||||||
|
instance_qs = instance_qs.filter(enabled=True)
|
||||||
private_data_dir = tempfile.mkdtemp(
|
private_data_dir = tempfile.mkdtemp(
|
||||||
prefix='awx_iso_heartbeat_',
|
prefix='awx_iso_heartbeat_',
|
||||||
dir=settings.AWX_PROOT_BASE_PATH
|
dir=settings.AWX_PROOT_BASE_PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user