We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65a1700 commit 0d30dc6Copy full SHA for 0d30dc6
pkg/name/repository.go
@@ -121,7 +121,7 @@ func (r Repository) Digest(identifier string) Digest {
121
return d
122
}
123
124
-// MarshalJSON formats the digest into a string for JSON serialization.
+// MarshalJSON formats the Repository into a string for JSON serialization.
125
func (r Repository) MarshalJSON() ([]byte, error) { return json.Marshal(r.String()) }
126
127
// UnmarshalJSON parses a JSON string into a Repository.
0 commit comments