Skip to content

Commit daf79c1

Browse files
cangqiaoyuzhuocpanato
authored andcommitted
chore: fix some function names in comment
Signed-off-by: cangqiaoyuzhuo <[email protected]>
1 parent c820fca commit daf79c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/signer/tink.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434

3535
const TinkScheme = "tink"
3636

37-
// NewTinkSignerWithHandle returns a signature.SignerVerifier that wraps crypto.Signer and a hash function.
37+
// NewTinkSigner returns a signature.SignerVerifier that wraps crypto.Signer and a hash function.
3838
// Provide a path to the encrypted keyset and cloud KMS key URI for decryption
3939
func NewTinkSigner(ctx context.Context, kekURI, keysetPath string) (signature.Signer, error) {
4040
if kekURI == "" || keysetPath == "" {

pkg/util/checkpoint.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func (c Checkpoint) String() string {
5151
return b.String()
5252
}
5353

54-
// MarshalText returns the common format representation of this Checkpoint.
54+
// MarshalCheckpoint returns the common format representation of this Checkpoint.
5555
func (c Checkpoint) MarshalCheckpoint() ([]byte, error) {
5656
return []byte(c.String()), nil
5757
}

0 commit comments

Comments
 (0)