Merge pull request #10 from pushsla/fixvarname

Fixvarname
This commit is contained in:
Alexey Avramov 2018-11-28 22:51:05 +09:00 committed by GitHub
commit 2096628d21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
nohang
View File

@ -826,7 +826,7 @@ def calculate_percent(arg_key):
print('{} not in config\nExit'.format(arg_key)) print('{} not in config\nExit'.format(arg_key))
mem_min_percent = None mem_min_percent = None
return mem_min_kb, mem_min_percent, mem_min_percent return mem_min_kb, mem_min_mb, mem_min_percent
# if 'mem_min_sigterm' in config_dict: # if 'mem_min_sigterm' in config_dict:
@ -1322,7 +1322,6 @@ if root and realtime_ionice:
########################################################################## ##########################################################################
if print_config: if print_config:
print('\n1. Memory levels to respond to as an OOM threat\n[displaying these options need fix]\n') print('\n1. Memory levels to respond to as an OOM threat\n[displaying these options need fix]\n')