Skip to content

Commit

Permalink
Merge pull request #452 from NikitaSkrynnik/fix-linter
Browse files Browse the repository at this point in the history
Fix linter issues after update golangci-lint version
  • Loading branch information
denis-tingaikin authored Sep 14, 2022
2 parents cfd7052 + 42f6948 commit 420b888
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pkg/networkservice/chains/forwarder/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 420b888

Please sign in to comment.