cloudflare / cfdeploy

Cloudflare Deployment Tool
BSD 3-Clause "New" or "Revised" License
27 stars 12 forks source link

Adds optional healthcheck command and test #9

Closed bnelz closed 6 years ago

bnelz commented 6 years ago

This PR adds an optional healthcheck type checkCommand as an enhancement to the path functionality provided in the healthchecks feature.

bnelz commented 6 years ago

Build is failing due to gometalinter: error: unknown linters: aligncheck which I can reproduce locally.

bnelz commented 6 years ago

This is a potential fix:

diff --git a/Makefile b/Makefile
index 17dd439..b9d43f6 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ hooks: .git/hooks/pre-commit
 lint: check
        @gometalinter \
                --disable-all \
-               --enable=aligncheck \
+               --enable=maligned \
                --enable=deadcode \
                --enable=gas \
                --enable=goconst \