From cac32252249bcbf2b1208aee3f84d1f005a75d0f Mon Sep 17 00:00:00 2001 From: Antoine Van Elstraete Date: Tue, 28 Dec 2021 00:18:47 +0100 Subject: [PATCH] Remove the unecesseray time thing --- knot_ | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/knot_ b/knot_ index fadf50c..3322d45 100755 --- a/knot_ +++ b/knot_ @@ -67,7 +67,6 @@ def proto(stats, config): if __name__ == '__main__': # Retrieve datas : file = getenv('stats_file_path') - munin_time = getenv('munin_time', 300) with open(file, "r") as stats_file: stats = yaml.safe_load(stats_file) if "mod-stats" not in stats: @@ -77,8 +76,8 @@ if __name__ == '__main__': else: config = False if "responses" in argv[0]: - responses(stats, config, munin_time) + responses(stats, config) elif "proto" in argv[0]: - proto(stats, config, munin_time) + proto(stats, config) else: pass # Nothing happens if no "munin underscore args"