From daa63b9602fd3ed455db53dcb512c157f7f5483c Mon Sep 17 00:00:00 2001 From: Artem Glazychev Date: Mon, 23 Oct 2023 19:35:21 +0700 Subject: [PATCH] Remove recvfd server from NSE Signed-off-by: Artem Glazychev --- internal/pkg/imports/imports_linux.go | 1 - main.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/internal/pkg/imports/imports_linux.go b/internal/pkg/imports/imports_linux.go index b59b4b5..7e32771 100644 --- a/internal/pkg/imports/imports_linux.go +++ b/internal/pkg/imports/imports_linux.go @@ -19,7 +19,6 @@ import ( _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/authorize" _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms" _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms/kernel" - _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms/recvfd" _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms/sendfd" _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/null" _ "github.com/networkservicemesh/sdk/pkg/networkservice/common/onidle" diff --git a/main.go b/main.go index ef1a566..eff286e 100644 --- a/main.go +++ b/main.go @@ -54,7 +54,6 @@ import ( "github.com/networkservicemesh/sdk/pkg/networkservice/common/authorize" "github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms" "github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms/kernel" - "github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms/recvfd" "github.com/networkservicemesh/sdk/pkg/networkservice/common/mechanisms/sendfd" "github.com/networkservicemesh/sdk/pkg/networkservice/common/null" "github.com/networkservicemesh/sdk/pkg/networkservice/common/onidle" @@ -208,7 +207,6 @@ func main() { onidle.NewServer(ctx, cancel, config.IdleTimeout), groupipam.NewServer(config.CidrPrefix), policyroute.NewServer(newPolicyRoutesGetter(ctx, config.PBRConfigPath).Get), - recvfd.NewServer(), mechanisms.NewServer(map[string]networkservice.NetworkServiceServer{ kernelmech.MECHANISM: kernel.NewServer(), noop.MECHANISM: null.NewServer(),