Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
  • Loading branch information
denis-tingaikin committed Jan 8, 2023
1 parent 6ef22cf commit a4816f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pkg/networkservice/ipam/groupipam/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@

// Package groupipam provides a networkservice.NetworkServiceServer chain element to handle a group of []*net.IPNet.
// The chain element should be used when the endpoint should assign a few addresses for the connection.
// By default `groupipam`` uses `point2pointipam` to handle *net.IPNet.
// By default `groupipam` uses `point2pointipam` to handle *net.IPNet.
package groupipam

import (
"net"

"github.com/networkservicemesh/api/pkg/api/networkservice"

"github.com/networkservicemesh/sdk/pkg/networkservice/core/chain"
"github.com/networkservicemesh/sdk/pkg/networkservice/ipam/point2pointipam"
)
Expand Down
3 changes: 2 additions & 1 deletion pkg/networkservice/ipam/groupipam/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ import (
"testing"

"github.com/networkservicemesh/api/pkg/api/networkservice"
"github.com/stretchr/testify/require"

"github.com/networkservicemesh/sdk/pkg/networkservice/common/updatepath"
"github.com/networkservicemesh/sdk/pkg/networkservice/core/chain"
"github.com/networkservicemesh/sdk/pkg/networkservice/ipam/groupipam"
"github.com/networkservicemesh/sdk/pkg/networkservice/ipam/singlepointipam"
"github.com/networkservicemesh/sdk/pkg/networkservice/utils/metadata"
"github.com/stretchr/testify/require"
)

func Test_NewServer_ShouldFailIfOptionIsNil(t *testing.T) {
Expand Down

0 comments on commit a4816f1

Please sign in to comment.