From 42f6948b4401617354e6495bfe6255e85ef16303 Mon Sep 17 00:00:00 2001 From: Nikita Skrynnik Date: Wed, 14 Sep 2022 17:02:54 +0700 Subject: [PATCH] fix linter Signed-off-by: Nikita Skrynnik --- pkg/networkservice/chains/forwarder/server.go | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkg/networkservice/chains/forwarder/server.go b/pkg/networkservice/chains/forwarder/server.go index 25b1b9c0..b2923744 100644 --- a/pkg/networkservice/chains/forwarder/server.go +++ b/pkg/networkservice/chains/forwarder/server.go @@ -71,16 +71,16 @@ type sriovServer struct { } // NewServer - returns an Endpoint implementing the SR-IOV Forwarder networks service -// - name - name of the Forwarder -// - authzServer - policy for allowing or rejecting requests -// - tokenGenerator - token.GeneratorFunc - generates tokens for use in Path -// - pciPool - provides PCI functions -// - resourcePool - provides SR-IOV resources -// - sriovConfig - SR-IOV PCI functions config -// - vfioDir - host /dev/vfio directory mount location -// - cgroupBaseDir - host /sys/fs/cgroup/devices directory mount location -// - clientUrl - *url.URL for the talking to the NSMgr -// - ...clientDialOptions - dialOptions for dialing the NSMgr +// - name - name of the Forwarder +// - authzServer - policy for allowing or rejecting requests +// - tokenGenerator - token.GeneratorFunc - generates tokens for use in Path +// - pciPool - provides PCI functions +// - resourcePool - provides SR-IOV resources +// - sriovConfig - SR-IOV PCI functions config +// - vfioDir - host /dev/vfio directory mount location +// - cgroupBaseDir - host /sys/fs/cgroup/devices directory mount location +// - clientUrl - *url.URL for the talking to the NSMgr +// - ...clientDialOptions - dialOptions for dialing the NSMgr func NewServer( ctx context.Context, name string,