forked from TrueCloudLab/frostfs-node
3308fcf56d
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
13 lines
214 B
Go
13 lines
214 B
Go
package main
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neofs-node/pkg/morph/client"
|
|
)
|
|
|
|
func initMorphComponents(c *cfg) {
|
|
var err error
|
|
|
|
c.cfgMorph.client, err = client.New(c.key, c.cfgMorph.endpoint)
|
|
|
|
fatalOnErr(err)
|
|
}
|