cli: Fix object nodes command #499

Merged
fyrchik merged 1 commit from dstepanov-yadro/frostfs-node:fix/object-nodes-addresses into master 2023-07-10 12:02:21 +00:00

Do not fail if client creation failed.
Use external addresses to create the client too.
Changed print name: use public key as node ID like the other commands.

Closes #476

Do not fail if client creation failed. Use external addresses to create the client too. Changed print name: use public key as node ID like the other commands. Closes #476
requested reviews from storage-core-committers, storage-core-developers 2023-07-07 08:16:19 +00:00
ale64bit approved these changes 2023-07-07 09:09:56 +00:00
aarifullin approved these changes 2023-07-07 09:23:32 +00:00
aarifullin left a comment
Member

LGTM

LGTM
acid-ant approved these changes 2023-07-07 09:55:11 +00:00
fyrchik reviewed 2023-07-07 14:55:56 +00:00
@ -359,0 +349,4 @@
func getNodeAddressToPrint(n netmapSDK.NodeInfo) string {
nodeAttrValue := ""
n.IterateAttributes(func(key, value string) {
if key == "Node" {
Owner

It is note well-known, what about providing it via an argument?

It is note well-known, what about providing it via an argument?
Author
Member

Now node's public key prints as NodeID

Now node's public key prints as NodeID
dstepanov-yadro force-pushed fix/object-nodes-addresses from 6e246af01b to c9fee99f92 2023-07-07 15:53:12 +00:00 Compare
dstepanov-yadro force-pushed fix/object-nodes-addresses from c9fee99f92 to 040a623d39 2023-07-10 06:59:08 +00:00 Compare
fyrchik approved these changes 2023-07-10 11:58:49 +00:00
fyrchik merged commit 040a623d39 into master 2023-07-10 12:02:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
5 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#499
No description provided.