From 40cfa9b6fc2cfae45c6d80f43b9947030b68ed17 Mon Sep 17 00:00:00 2001 From: fab Date: Wed, 14 Aug 2024 23:56:29 +0200 Subject: [PATCH] Update lxc_autoscale.py in TIERS definition the misleading `nodes` is replaced by `lxc_containers` --- usr/local/bin/lxc_autoscale.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/bin/lxc_autoscale.py b/usr/local/bin/lxc_autoscale.py index 511a54c..765472d 100644 --- a/usr/local/bin/lxc_autoscale.py +++ b/usr/local/bin/lxc_autoscale.py @@ -233,7 +233,7 @@ def acquire_lock(): 'max_cores': config.getint(section, 'max_cores'), 'min_memory': config.getint(section, 'min_memory') } - nodes = config.get(section, 'nodes').split(',') + nodes = config.get(section, 'lxc_containers').split(',') for ctid in nodes: LXC_TIER_ASSOCIATIONS[ctid.strip()] = tier_config