[#1422] node: Use dialer source for morph
Some checks failed
Tests and linters / Tests with -race (pull_request) Failing after 46s
Vulncheck / Vulncheck (pull_request) Failing after 52s
DCO action / DCO (pull_request) Successful in 1m12s
Build / Build Components (pull_request) Failing after 1m17s
Tests and linters / Tests (pull_request) Failing after 1m36s
Pre-commit hooks / Pre-commit (pull_request) Failing after 1m41s
Tests and linters / Run gofumpt (pull_request) Successful in 1m35s
Tests and linters / Staticcheck (pull_request) Failing after 1m57s
Tests and linters / gopls check (pull_request) Failing after 2m22s
Tests and linters / Lint (pull_request) Failing after 3m21s

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2024-10-09 11:49:23 +03:00
parent 1cd87cfce8
commit ccb3cc0a1f
Signed by: dstepanov-yadro
GPG key ID: 237AF1A763293BC0

View file

@ -48,6 +48,7 @@ func initMorphComponents(ctx context.Context, c *cfg) {
}), }),
client.WithSwitchInterval(morphconfig.SwitchInterval(c.appCfg)), client.WithSwitchInterval(morphconfig.SwitchInterval(c.appCfg)),
client.WithMorphCacheMetrics(c.metricsCollector.MorphCacheMetrics()), client.WithMorphCacheMetrics(c.metricsCollector.MorphCacheMetrics()),
client.WithDialerSource(c.dialerSource),
) )
if err != nil { if err != nil {
c.log.Info(logs.FrostFSNodeFailedToCreateNeoRPCClient, c.log.Info(logs.FrostFSNodeFailedToCreateNeoRPCClient,