Skip to content

Commit

Permalink
Merge pull request #213 from lchudinov/bugfix/fix-arch-and-os-in-agen…
Browse files Browse the repository at this point in the history
…t-environment-service

Agent API: Fix arch and os in environment service
  • Loading branch information
1000TurquoisePogs authored Sep 10, 2020
2 parents a2aa8e1 + 3299ca0 commit e218f49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion c/serverStatusService.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ int respondWithServerEnvironment(HttpResponse *response, ServerAgentContext *con
}
jsonAddString(out, "agentName", "zss");
jsonAddString(out, "agentVersion", context->productVersion);
jsonAddString(out, "arch", unameRet.sysname);
jsonAddString(out, "arch", "s390x");
jsonAddString(out, "os", "zos");
jsonAddString(out, "osRelease", unameRet.release);
jsonAddString(out, "osVersion", unameRet.version);
jsonAddString(out, "hardwareIdentifier", unameRet.machine);
Expand Down

0 comments on commit e218f49

Please sign in to comment.