diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2023-12-08 09:03:51 +0200 |
---|---|---|
committer | Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com> | 2023-12-12 17:25:00 +0200 |
commit | ab1b3eebb33a169e43f352989fa3e6b671bdc302 (patch) | |
tree | 443899a3e17977ad1239a1bd37a9e5133a777c4c | |
parent | caf7bb3ed0786546740cfd903372233fbdee3a52 (diff) |
fix cpu arch/ram/disk values in buildinfo (#16567)
fix cpu arch/ram/disk oder in buildinfo
(cherry picked from commit 25f2abe898a79a397e9c5cf47c9223ccbe134fec)
-rw-r--r-- | daemon/buildinfo.c | 6 |
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, |