Skip to content

Commit b1dbfd2

Browse files
committed
fix: lint
Signed-off-by: Enrique Lacal <enrique.lacal@kaleido.io>
1 parent 0bd2395 commit b1dbfd2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/wsclient/wstestserver.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright © 2022 Kaleido, Inc.
1+
// Copyright © 2023 Kaleido, Inc.
22
//
33
// SPDX-License-Identifier: Apache-2.0
44
//
@@ -41,7 +41,7 @@ func GenerateTLSCertficates(t *testing.T) (publicKeyFile *os.File, privateKeyFil
4141
// Create an X509 certificate pair
4242
privatekey, _ := rsa.GenerateKey(rand.Reader, 2048)
4343
publickey := &privatekey.PublicKey
44-
var privateKeyBytes []byte = x509.MarshalPKCS1PrivateKey(privatekey)
44+
var privateKeyBytes = x509.MarshalPKCS1PrivateKey(privatekey)
4545
privateKeyFile, _ = os.CreateTemp("", "key.pem")
4646
privateKeyBlock := &pem.Block{Type: "RSA PRIVATE KEY", Bytes: privateKeyBytes}
4747
err := pem.Encode(privateKeyFile, privateKeyBlock)

0 commit comments

Comments
 (0)