Fix broken build because of go fmt issue
authorIvan Babrou <ibobrik@gmail.com>
Tue, 25 Sep 2018 18:54:33 +0000 (11:54 -0700)
committerIvan Babrou <ibobrik@gmail.com>
Tue, 25 Sep 2018 19:42:18 +0000 (12:42 -0700)
```
$ 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 <ibobrik@gmail.com>
prober/utils_test.go

index 7f1c42af953dda9c428b29e4eb227400a5ef4ff4..1f66a18b96f148f758213b2b11ea1f2834eca0d8 100644 (file)
@@ -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),