diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2021-05-14 10:45:59 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-05-26 17:19:30 +0200 |
commit | 12d8fff3efef35aa61777f82133e627030bc0b27 (patch) | |
tree | 9ee62c732703f84cd565d55b68a809466fce1a45 /src/client.c | |
parent | 10c9559dfc46afd5710b2d49fb61fe5ccafc87d0 (diff) |
#1037 Add disk type
Add ogServer support for parsing and storing in the DB disk type data
from ogClient refresh response.
See also commits with #1037 in ogClient and WebConsole repo.
Diffstat (limited to 'src/client.c')
-rw-r--r-- | src/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.c b/src/client.c index 0a2c33e..44e7c1b 100644 --- a/src/client.c +++ b/src/client.c @@ -321,11 +321,11 @@ static int og_resp_refresh(json_t *data, struct og_client *cli) continue; snprintf(cfg + strlen(cfg), sizeof(cfg) - strlen(cfg), - "disk=%s\tpar=%s\tcpt=%s\tfsi=%s\tsoi=%s\ttam=%s\tuso=%s\n", + "disk=%s\tpar=%s\tcpt=%s\tfsi=%s\tsoi=%s\ttam=%s\tuso=%s\tdtype=%s\n", disks[i].disk, disks[i].number, disks[i].code, disks[i].filesystem, disks[i].os, disks[i].size, - disks[i].used_size); + disks[i].used_size, disks[i].disk_type); } for (i = 0; i < OG_PARTITION_MAX; i++) { |