Skip to content

Commit 65a1700

Browse files
imjasonhCopilot
andauthored
Update pkg/name/tag.go
Co-authored-by: Copilot <[email protected]>
1 parent aefb943 commit 65a1700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/name/tag.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func NewTag(name string, opts ...Option) (Tag, error) {
108108
}, nil
109109
}
110110

111-
// MarshalJSON formats the digest into a string for JSON serialization.
111+
// MarshalJSON formats the Tag into a string for JSON serialization.
112112
func (t Tag) MarshalJSON() ([]byte, error) { return json.Marshal(t.String()) }
113113

114114
// UnmarshalJSON parses a JSON string into a Tag.

0 commit comments

Comments
 (0)