cmd/pkgserver: do not omit report field

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-11 02:03:47 +09:00
parent ce914abb57
commit 2ec49a525f

View File

@@ -32,7 +32,7 @@ type metadata struct {
// to the zero value. Otherwise, the zero value is invalid.
Version string `json:"version,omitempty"`
// Whether the underlying [pkg.Artifact] is present in the report.
HasReport bool `json:"report,omitempty"`
HasReport bool `json:"report"`
// Ident resolved from underlying [pkg.Artifact].
ident unique.Handle[pkg.ID]