From d50956b7d61b45e18ee8e2b4cad739da4332783e Mon Sep 17 00:00:00 2001 From: siddharthist Date: Mon, 4 Jan 2016 13:08:15 -0600 Subject: [PATCH] Add unitfilestatus to construct_check --- checklists/construct-check.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/checklists/construct-check.go b/checklists/construct-check.go index a29a978..1bd6dcc 100644 --- a/checklists/construct-check.go +++ b/checklists/construct-check.go @@ -1,10 +1,11 @@ package checklists import ( + "strings" + "github.com/CiscoCloud/distributive/checks" "github.com/CiscoCloud/distributive/chkutil" log "github.com/Sirupsen/logrus" - "strings" ) // constructCheck returns a new Check interface compliant object, translated @@ -110,6 +111,8 @@ func constructCheck(chkjs CheckJSON) chkutil.Check { return checks.SystemctlTimer{} case "systemctltimerloaded": return checks.SystemctlTimerLoaded{} + case "systemctlunitfilestatus": + return checks.SystemctlUnitFileStatus{} /***************** usage.go *****************/ case "memoryusage": return checks.MemoryUsage{}