adm: Add command morph ape list-targets #1033

Merged
fyrchik merged 1 commit from acid-ant/frostfs-node:feature/1030-list-targets into master 2024-03-18 11:08:03 +00:00
Member

Close #1030

Example output:

$ frostfs-adm morph ape list-targets -c cfg.yml -r http://morph-chain.frostfs.devenv:30333 --target-type namespace
(no name)
target00
$

Signed-off-by: Anton Nikiforov an.nikiforov@yadro.com

Close #1030 Example output: ``` $ frostfs-adm morph ape list-targets -c cfg.yml -r http://morph-chain.frostfs.devenv:30333 --target-type namespace (no name) target00 $ ``` Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
acid-ant changed title from adm: Add command morph ape list-targets to WIP: adm: Add command morph ape list-targets 2024-03-11 08:27:00 +00:00
acid-ant force-pushed feature/1030-list-targets from d7478f5204 to 26de193c80 2024-03-13 08:37:03 +00:00 Compare
acid-ant force-pushed feature/1030-list-targets from 26de193c80 to 1f7a2e1f27 2024-03-13 12:02:22 +00:00 Compare
acid-ant force-pushed feature/1030-list-targets from 1f7a2e1f27 to a421b7620d 2024-03-13 18:56:58 +00:00 Compare
acid-ant changed title from WIP: adm: Add command morph ape list-targets to adm: Add command morph ape list-targets 2024-03-13 18:57:32 +00:00
acid-ant requested review from storage-core-committers 2024-03-13 18:57:42 +00:00
acid-ant requested review from storage-core-developers 2024-03-13 18:57:44 +00:00
acid-ant force-pushed feature/1030-list-targets from a421b7620d to fa121bf730 2024-03-15 07:02:18 +00:00 Compare
aarifullin reviewed 2024-03-15 09:23:40 +00:00
@ -218,0 +244,4 @@
for _, item := range items {
bts, err := item.TryBytes()
commonCmd.ExitOnErr(cmd, "list targets error: %w", err)
cmd.Println(string(bts))
Member

Could you, please, process "" and print it like (empty) or something like that?

Could you, please, process `""` and print it like `(empty)` or something like that?
Author
Member

Thanks, fixed.

Thanks, fixed.
acid-ant force-pushed feature/1030-list-targets from fa121bf730 to fc5b10f34d 2024-03-15 09:50:47 +00:00 Compare
acid-ant force-pushed feature/1030-list-targets from fc5b10f34d to 7278201753 2024-03-15 10:48:53 +00:00 Compare
aarifullin approved these changes 2024-03-15 11:44:37 +00:00
aarifullin left a comment
Member

Thanks!

Thanks!
dstepanov-yadro approved these changes 2024-03-18 07:59:48 +00:00
fyrchik approved these changes 2024-03-18 11:07:55 +00:00
fyrchik merged commit 7278201753 into master 2024-03-18 11:08:03 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1033
No description provided.