Repository: etcd-io/etcd (language: go)

Issue:
update fatal to same stile as line 410



Discussion / hints:
Thanks.


Fix patch:
diff --git a/Makefile b/Makefile
index 686cf01a9c9..0ee624fce82 100644
--- a/Makefile
+++ b/Makefile
@@ -563,3 +563,10 @@ fix: sync-toolchain-directive
 .PHONY: sync-toolchain-directive
 sync-toolchain-directive:
 	./scripts/sync_go_toolchain_directive.sh
+
+.PHONY: run-govulncheck
+run-govulncheck:
+ifeq (, $(shell which govulncheck))
+	$(shell go install golang.org/x/vuln/cmd/govulncheck@latest)
+endif
+	PASSES="govuln" ./test


Test patch:
diff --git a/test b/test
index ab2345f4c96..6186a6d483a 100755
--- a/test
+++ b/test
@@ -451,6 +451,10 @@ function markdown_marker_pass {
 	fi
 }
 
+function govuln_pass {
+  	govulncheck -show verbose ./...
+}
+
 function goword_pass {
 	if command -v goword >/dev/null; then
 		# get all go files to process