Skip to content

Commit

Permalink
Merge pull request #335 from NikitaSkrynnik/heal-client
Browse files Browse the repository at this point in the history
Add a heal client to the second NSM client
  • Loading branch information
denis-tingaikin authored Aug 8, 2024
2 parents 1a781f4 + fe1a498 commit 6665169
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import (
"github.com/networkservicemesh/sdk/pkg/ipam/strictvl3ipam"
"github.com/networkservicemesh/sdk/pkg/networkservice/chains/client"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/clientinfo"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/heal"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms/recvfd"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/null"
"github.com/networkservicemesh/sdk/pkg/networkservice/common/onidle"
Expand Down Expand Up @@ -300,9 +301,7 @@ func main() {
),
grpc.WithTransportCredentials(
grpcfd.TransportCredentials(
credentials.NewTLS(
tlsClientConfig,
),
credentials.NewTLS(tlsClientConfig),
),
),
)
Expand All @@ -316,6 +315,7 @@ func main() {
client.WithClientURL(&config.ConnectTo),
client.WithName(config.Name),
client.WithAuthorizeClient(authorize.NewClient()),
client.WithHealClient(heal.NewClient(ctx)),
client.WithAdditionalFunctionality(
append(
clientAdditionalFunctionality,
Expand Down

0 comments on commit 6665169

Please sign in to comment.