forked from TrueCloudLab/frostfs-node
[#755] neofs-adm: print NNS records during initialization
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
da19799c37
commit
58e8d6e1fd
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue