diff options
| author | Dan Engelbrecht <[email protected]> | 2024-02-12 14:50:46 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-12 14:50:46 +0100 |
| commit | ac3ca061ac4dcf107f3b0f60bb58d40b199458d8 (patch) | |
| tree | dd62b20546928d54e87e5fb9c57fc899a0627a5b /src/zen/cmds/info_cmd.cpp | |
| parent | Save compressed large attachments to temporary files on disk (#650) (diff) | |
| download | archived-zen-ac3ca061ac4dcf107f3b0f60bb58d40b199458d8.tar.xz archived-zen-ac3ca061ac4dcf107f3b0f60bb58d40b199458d8.zip | |
Added --copy-log, --copy-cache-log and copy-http-log option to zen logs command (#651)
* be safe and use ToText() rather than AsText() when getting http responses
* Added `--copy-log`, `--copy-cache-log` and `copy-http-log` option to zen logs command to copy logs from a local running zen server instance
Diffstat (limited to 'src/zen/cmds/info_cmd.cpp')
| -rw-r--r-- | src/zen/cmds/info_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zen/cmds/info_cmd.cpp b/src/zen/cmds/info_cmd.cpp index aec8ca46b..73a5d2e5d 100644 --- a/src/zen/cmds/info_cmd.cpp +++ b/src/zen/cmds/info_cmd.cpp @@ -42,7 +42,7 @@ InfoCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) if (HttpClient::Response Result = Http.Get("/admin/info", HttpClient::Accept(ZenContentType::kJSON))) { - ZEN_CONSOLE("{}", Result.AsText()); + ZEN_CONSOLE("{}", Result.ToText()); } return 0; |