Packaged implies a bool, this is a description so it should

be packaging or just package imo
This commit is contained in:
Rob Emery 2025-03-17 10:21:34 +00:00
parent 93e3590465
commit 4512cc6096
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ var staticData = sync.OnceValue(func() insights.Data {
data.OS.Containerized = consts.InContainer
// Install info
data.OS.Packaged = os.Getenv("ND_PACKAGE_TYPE")
data.OS.Package = os.Getenv("ND_PACKAGE_TYPE")
// OS info
data.OS.Type = runtime.GOOS

View File

@ -16,7 +16,7 @@ type Data struct {
Containerized bool `json:"containerized"`
Arch string `json:"arch"`
NumCPU int `json:"numCPU"`
Packaged string `json:"packaged,omitempty"`
Package string `json:"package,omitempty"`
} `json:"os"`
Mem struct {
Alloc uint64 `json:"alloc"`