@cryptotaxi247 / netdata-1 / commits / 25f2abe89

fix cpu arch/ram/disk values in buildinfo (#16567)

fix cpu arch/ram/disk oder in buildinfo

Ilya Mashchenko committed Dec 8, 2023 at 09:03 UTC 25f2abe898a79a397e9c5cf47c9223ccbe134fec
1 file changed +3 -3
daemon/buildinfo.c
+3 -3
@@ -343,7 +343,7 @@ static struct {
343 .json = "cpu_frequency",
344 .value = "unknown",
345 },
346 - [BIB_HW_RAM_SIZE] = {
346 + [BIB_HW_ARCHITECTURE] = {
347 .category = BIC_HARDWARE,
348 .type = BIT_STRING,
349 .analytics = NULL,
@@ -351,7 +351,7 @@ static struct {
351 .json = "cpu_architecture",
352 .value = "unknown",
353 },
354 - [BIB_HW_DISK_SPACE] = {
354 + [BIB_HW_RAM_SIZE] = {
355 .category = BIC_HARDWARE,
356 .type = BIT_STRING,
357 .analytics = NULL,
@@ -359,7 +359,7 @@ static struct {
359 .json = "ram",
360 .value = "unknown",
361 },
362 - [BIB_HW_ARCHITECTURE] = {
362 + [BIB_HW_DISK_SPACE] = {
363 .category = BIC_HARDWARE,
364 .type = BIT_STRING,
365 .analytics = NULL,