Skip to content

Commit

Permalink
Update scaling_manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziosalmi authored Aug 23, 2024
1 parent 7750f75 commit 29f83e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxc_autoscale/scaling_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def adjust_resources(containers, energy_mode):

logging.info(f"Container {ctid}: CPU usage: {rounded_cpu_usage}%, Memory usage: {rounded_mem_usage}MB "
f"({free_mem_percent}% free of {total_mem_allocated}MB total), "
f"Initial cores (181): {usage['initial_cores']}, Initial memory: {total_mem_allocated}MB")
f"Initial cores: {usage['initial_cores']}, Initial memory: {total_mem_allocated}MB")

# Proceed with the rest of the logic for adjusting resources
for ctid, usage in containers.items():
Expand Down

0 comments on commit 29f83e3

Please sign in to comment.