Skip to content

Commit 31282a3

Browse files
devin-ai-integration[bot]Joe Petrich
andcommitted
[ENG-xxx] Fix code style issues with go fmt
Co-Authored-By: Joe Petrich <[email protected]>
1 parent 5415a08 commit 31282a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

kms_signer_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@ func newMockKMSSigner(t *testing.T) *KMSSigner {
4848
}
4949

5050
func (m *mockKMSClient) GetPublicKey(ctx context.Context, req *kmspb.GetPublicKeyRequest) (*kmspb.PublicKey, error) {
51-
51+
5252
x509EncodedPub, err := x509.MarshalPKIXPublicKey(&m.privateKey.PublicKey)
5353
if err != nil {
5454
return nil, fmt.Errorf("failed to marshal public key to X.509: %w", err)
5555
}
56-
56+
5757
pemBytes := pem.EncodeToMemory(&pem.Block{
5858
Type: "PUBLIC KEY",
5959
Bytes: x509EncodedPub,
6060
})
61-
61+
6262
return &kmspb.PublicKey{
63-
Pem: string(pemBytes),
63+
Pem: string(pemBytes),
6464
Algorithm: kmspb.CryptoKeyVersion_EC_SIGN_SECP256K1_SHA256,
6565
}, nil
6666
}

0 commit comments

Comments
 (0)