forked from security/hakurei
cmd/pkgserver: do not omit report field
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user