mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-06 10:23:21 +03:00
Packaged implies a bool, this is a description so it should
be packaging or just package imo
This commit is contained in:
parent
93e3590465
commit
4512cc6096
@ -155,7 +155,7 @@ var staticData = sync.OnceValue(func() insights.Data {
|
|||||||
data.OS.Containerized = consts.InContainer
|
data.OS.Containerized = consts.InContainer
|
||||||
|
|
||||||
// Install info
|
// Install info
|
||||||
data.OS.Packaged = os.Getenv("ND_PACKAGE_TYPE")
|
data.OS.Package = os.Getenv("ND_PACKAGE_TYPE")
|
||||||
|
|
||||||
// OS info
|
// OS info
|
||||||
data.OS.Type = runtime.GOOS
|
data.OS.Type = runtime.GOOS
|
||||||
|
@ -16,7 +16,7 @@ type Data struct {
|
|||||||
Containerized bool `json:"containerized"`
|
Containerized bool `json:"containerized"`
|
||||||
Arch string `json:"arch"`
|
Arch string `json:"arch"`
|
||||||
NumCPU int `json:"numCPU"`
|
NumCPU int `json:"numCPU"`
|
||||||
Packaged string `json:"packaged,omitempty"`
|
Package string `json:"package,omitempty"`
|
||||||
} `json:"os"`
|
} `json:"os"`
|
||||||
Mem struct {
|
Mem struct {
|
||||||
Alloc uint64 `json:"alloc"`
|
Alloc uint64 `json:"alloc"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user