diff --git a/Dockerfile b/Dockerfile index f862aac..d1a96e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,4 @@ FROM scratch COPY --from=builder /checker-ns-restrictions /checker-ns-restrictions USER 65534:65534 EXPOSE 8080 -HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ - CMD ["/checker-ns-restrictions", "-healthcheck"] ENTRYPOINT ["/checker-ns-restrictions"] diff --git a/checker/rules_test.go b/checker/rules_test.go index 04e0a07..3bb5cce 100644 --- a/checker/rules_test.go +++ b/checker/rules_test.go @@ -59,7 +59,7 @@ var rulesUnderTest = []struct { errCode string skippedCode string // resolutionRule emits a single OK state when there is no failure, - // not the "no probes" sentinel: it is the rule that owns the + // not the "no probes" sentinel — it is the rule that owns the // resolution-error rows. Skip its no-probes test. skipNoProbes bool }{ diff --git a/go.mod b/go.mod index 36c2d7c..63525b0 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module git.happydns.org/checker-ns-restrictions go 1.25.0 require ( - git.happydns.org/checker-sdk-go v1.5.0 + git.happydns.org/checker-sdk-go v1.3.0 github.com/miekg/dns v1.1.72 ) diff --git a/go.sum b/go.sum index 2a80023..092728a 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -git.happydns.org/checker-sdk-go v1.5.0 h1:5uD5Cm6xJ+lwnhbJ09iCXGHbYS9zRh+Yh0NeBHkAPBY= -git.happydns.org/checker-sdk-go v1.5.0/go.mod h1:aNAcfYFfbhvH9kJhE0Njp5GX0dQbxdRB0rJ0KvSC5nI= +git.happydns.org/checker-sdk-go v1.3.0 h1:FG2kIhlJCzI0m35EhxSgn4UWc9M4ha6aZTeoChu4l7A= +git.happydns.org/checker-sdk-go v1.3.0/go.mod h1:aNAcfYFfbhvH9kJhE0Njp5GX0dQbxdRB0rJ0KvSC5nI= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/miekg/dns v1.1.72 h1:vhmr+TF2A3tuoGNkLDFK9zi36F2LS+hKTRW0Uf8kbzI=