hack/tools: use logcheck v0.1.0 from sigs.k8s.io/logtools/logcheck

The code was moved out of k8s.io/klog into its own repo with proper
tagging. Functionally there is no difference.
This commit is contained in:
Patrick Ohly
2022-06-14 17:27:16 +02:00
parent 04c6c48463
commit 0284c6c06e
4 changed files with 5 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ export GO111MODULE=on
echo "installing golangci-lint and logcheck plugin from hack/tools into ${GOBIN}"
pushd "${KUBE_ROOT}/hack/tools" >/dev/null
go install github.com/golangci/golangci-lint/cmd/golangci-lint
go build -o "${GOBIN}/logcheck.so" -buildmode=plugin k8s.io/klog/hack/tools/logcheck/plugin
go build -o "${GOBIN}/logcheck.so" -buildmode=plugin sigs.k8s.io/logtools/logcheck/plugin
popd >/dev/null
cd "${KUBE_ROOT}"