summaryrefslogtreecommitdiffstats
path: root/daemon/buildinfo.c
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-12-08 09:03:51 +0200
committerGitHub <noreply@github.com>2023-12-08 09:03:51 +0200
commit25f2abe898a79a397e9c5cf47c9223ccbe134fec (patch)
tree972cf00182ae14629a679159a90c3adfc70daa85 /daemon/buildinfo.c
parent585bf997e57d7d373246759b081c2db53d5bfbce (diff)
fix cpu arch/ram/disk values in buildinfo (#16567)
fix cpu arch/ram/disk oder in buildinfo
Diffstat (limited to 'daemon/buildinfo.c')
-rw-r--r--daemon/buildinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/buildinfo.c b/daemon/buildinfo.c
index 7d585527ce..41af56af89 100644
--- a/daemon/buildinfo.c
+++ b/daemon/buildinfo.c
@@ -343,7 +343,7 @@ static struct {
.json = "cpu_frequency",
.value = "unknown",
},
- [BIB_HW_RAM_SIZE] = {
+ [BIB_HW_ARCHITECTURE] = {
.category = BIC_HARDWARE,
.type = BIT_STRING,
.analytics = NULL,
@@ -351,7 +351,7 @@ static struct {
.json = "cpu_architecture",
.value = "unknown",
},
- [BIB_HW_DISK_SPACE] = {
+ [BIB_HW_RAM_SIZE] = {
.category = BIC_HARDWARE,
.type = BIT_STRING,
.analytics = NULL,
@@ -359,7 +359,7 @@ static struct {
.json = "ram",
.value = "unknown",
},
- [BIB_HW_ARCHITECTURE] = {
+ [BIB_HW_DISK_SPACE] = {
.category = BIC_HARDWARE,
.type = BIT_STRING,
.analytics = NULL,