From 23e955a33a3a88bbc010ec20481d4c73e02955d1 Mon Sep 17 00:00:00 2001 From: onefang Date: Sat, 14 Dec 2019 08:04:35 +1000 Subject: Move the declaration of the APT.tests table to where APT.protocols is. --- apt-panopticommon.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-panopticommon.lua') diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index 22354f3..8d6de05 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua @@ -4,6 +4,7 @@ local APT = {} APT.rrd = require 'rrd' APT.protocols = {"ftp", "http", "https", "rsync"} +APT.tests = {'raw', 'Integrity', 'Protocol', 'Updated', 'URLSanity', 'Speed'} verbosity = -1 APT.origin = false @@ -486,7 +487,6 @@ APT.now = 0 local status status, APT.now = APT.execute('TZ="GMT" ls -l --time-style="+%s" results/stamp | cut -d " " -f 6-6') APT.now = tonumber(APT.now) -APT.tests = {'raw', 'Integrity', 'Protocol', 'Updated', 'URLSanity', 'Speed'} local start = 'now-2week' local step = '10min' local hb = '150min' -- cgit v1.1