[#994] cli: Output pilorama path in shards list
All checks were successful
DCO action / DCO (pull_request) Successful in 6m57s
Vulncheck / Vulncheck (pull_request) Successful in 7m58s
Tests and linters / Lint (pull_request) Successful in 9m22s
Build / Build Components (1.21) (pull_request) Successful in 10m8s
Build / Build Components (1.20) (pull_request) Successful in 10m37s
Tests and linters / Staticcheck (pull_request) Successful in 12m51s
Tests and linters / Tests (1.20) (pull_request) Successful in 14m42s
Tests and linters / Tests (1.21) (pull_request) Successful in 14m53s
Tests and linters / Tests with -race (pull_request) Successful in 15m25s

Do it for JSON too, not only for human output.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-02-19 15:53:38 +03:00
parent 2680192ba0
commit a359108c23

View file

@ -70,6 +70,7 @@ func prettyPrintShardsJSON(cmd *cobra.Command, ii []*control.ShardInfo) {
"metabase": i.GetMetabasePath(),
"blobstor": i.GetBlobstor(),
"writecache": i.GetWritecachePath(),
"pilorama": i.GetPiloramaPath(),
"error_count": i.GetErrorCount(),
})
}