From 58e8d6e1fdf01bc53704b98b8ec81f205720690a Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Tue, 10 Aug 2021 11:38:48 +0300 Subject: [PATCH] [#755] neofs-adm: print NNS records during initialization Signed-off-by: Evgenii Stratonikov --- cmd/neofs-adm/internal/modules/morph/initialize_nns.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/neofs-adm/internal/modules/morph/initialize_nns.go b/cmd/neofs-adm/internal/modules/morph/initialize_nns.go index b4d4369852..f8bbe1b7c8 100644 --- a/cmd/neofs-adm/internal/modules/morph/initialize_nns.go +++ b/cmd/neofs-adm/internal/modules/morph/initialize_nns.go @@ -53,6 +53,7 @@ func (c *initializeContext) setNNS() error { if err := c.nnsRegisterDomain(h, alphaCs.Hash, domain); err != nil { return err } + c.Command.Printf("NNS: Set %s -> %s\n", domain, alphaCs.Hash.StringLE()) } for _, ctrName := range contractList { @@ -66,6 +67,7 @@ func (c *initializeContext) setNNS() error { if err := c.nnsRegisterDomain(h, cs.Hash, domain); err != nil { return err } + c.Command.Printf("NNS: Set %s -> %s\n", domain, cs.Hash.StringLE()) } return c.awaitTx()