From: Ivan Babrou Date: Tue, 25 Sep 2018 18:54:33 +0000 (-0700) Subject: Fix broken build because of go fmt issue X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7e5cb78d2da924f939b88cf0b25198c4350417e8;p=blackbox_exporter.git 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 --- 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),