Skip to content

Commit

Permalink
Add unitfilestatus to construct_check
Browse files Browse the repository at this point in the history
  • Loading branch information
langston-barrett committed Jan 4, 2016
1 parent 91ea88e commit d50956b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion checklists/construct-check.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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{}
Expand Down

0 comments on commit d50956b

Please sign in to comment.