Skip to content

Commit

Permalink
Fix golang lint isues
Browse files Browse the repository at this point in the history
Signed-off-by: John Kjell <john@testifysec.com>
  • Loading branch information
jkjell committed Feb 5, 2024
1 parent 0c0acea commit b98fddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attestation/link/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (l *Link) Attest(ctx *attestation.AttestationContext) error {
}

func (l *Link) MarshalJSON() ([]byte, error) {
return json.Marshal(l.PbLink)
return json.Marshal(&l.PbLink)
}

func (l *Link) UnmarshalJSON(data []byte) error {
Expand Down

0 comments on commit b98fddf

Please sign in to comment.