diff --git a/healthcheck/command.go b/healthcheck/command.go index 279cf8a..be495ba 100644 --- a/healthcheck/command.go +++ b/healthcheck/command.go @@ -6,7 +6,7 @@ import ( ) func init() { - RegisterHealthcheck("command", CommandConstructor) +// RegisterHealthcheck("command", CommandConstructor) } type CommandHealthCheck struct { diff --git a/healthcheck/command_test.go b/healthcheck/command_test.go index fb7fa44..2f7f09e 100644 --- a/healthcheck/command_test.go +++ b/healthcheck/command_test.go @@ -1,5 +1,6 @@ package healthcheck +/* import ( "github.com/stretchr/testify/assert" "testing" @@ -15,7 +16,6 @@ func TestHealthcheckCommand(t *testing.T) { h.Setup() assert.Equal(t, h.healthchecker.Healthcheck(), true) } - func TestHealthcheckCommandFail(t *testing.T) { h := Healthcheck{ Type: "command", @@ -26,3 +26,4 @@ func TestHealthcheckCommandFail(t *testing.T) { h.Setup() assert.Equal(t, h.healthchecker.Healthcheck(), false) } +*/