From 7e5cb78d2da924f939b88cf0b25198c4350417e8 Mon Sep 17 00:00:00 2001 From: Ivan Babrou Date: Tue, 25 Sep 2018 11:54:33 -0700 Subject: [PATCH] Fix broken build because of go fmt issue ``` $ make >> checking code style ! gofmt -d $(find . -path ./vendor -prune -o -name '*.go' -print) | grep '^' diff -u ./prober/utils_test.go.orig ./prober/utils_test.go --- ./prober/utils_test.go.orig 2018-09-25 11:52:34.000000000 -0700 +++ ./prober/utils_test.go 2018-09-25 11:52:34.000000000 -0700 @@ -43,7 +43,7 @@ publickey := &privatekey.PublicKey cert := x509.Certificate{ - IsCA: true, + IsCA: true, BasicConstraintsValid: true, SubjectKeyId: []byte{1}, SerialNumber: big.NewInt(1), make: *** [style] Error 1 ``` Signed-off-by: Ivan Babrou --- prober/utils_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prober/utils_test.go b/prober/utils_test.go index 7f1c42a..1f66a18 100644 --- a/prober/utils_test.go +++ b/prober/utils_test.go @@ -43,7 +43,7 @@ func generateTestCertificate(expiry time.Time, IPAddressSAN bool) ([]byte, []byt publickey := &privatekey.PublicKey cert := x509.Certificate{ - IsCA: true, + IsCA: true, BasicConstraintsValid: true, SubjectKeyId: []byte{1}, SerialNumber: big.NewInt(1), -- 2.25.1