Browse Source

Fixed bug in composition of message.

Removed parameter that's now obsolete
pull/11/head
Egon Rijpkema 3 years ago
parent
commit
cdd96ea47f
  1. 2
      roles/kill_memory_hogs/files/kill_hoggs.py

2
roles/kill_memory_hogs/files/kill_hoggs.py

@ -141,7 +141,7 @@ def kill_hogs(memory_threshold, @@ -141,7 +141,7 @@ def kill_hogs(memory_threshold,
'User {} uses \n {:.2f} % of cpu. '.format(
username,
data['cpu_percent']), '{:.2f} % of memory. '.format(
username, data['memory_percent']),
data['memory_percent']),
'The following processes will be killed:'
]
for proc in data['processes']:

Loading…
Cancel
Save