Skip to content

Commit

Permalink
Update lxc_autoscale.py
Browse files Browse the repository at this point in the history
in TIERS definition the misleading `nodes` is replaced by `lxc_containers`
  • Loading branch information
fabriziosalmi authored Aug 14, 2024
1 parent 736969a commit 40cfa9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/local/bin/lxc_autoscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 40cfa9b

Please sign in to comment.