Skip to content

Commit

Permalink
Fix use of nsc name in connection ignored
Browse files Browse the repository at this point in the history
This is a workaround for:
networkservicemesh/deployments-k8s#1826

Signed-off-by: Ed Warnicke <[email protected]>
  • Loading branch information
edwarnicke committed Jun 18, 2021
1 parent 3886685 commit b9088c4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ require (
github.com/edwarnicke/debug v1.0.0
github.com/edwarnicke/grpcfd v0.1.0
github.com/edwarnicke/vpphelper v0.0.0-20210225052320-b4f1f1aff45d
github.com/google/uuid v1.1.2
github.com/kelseyhightower/envconfig v1.4.0
github.com/networkservicemesh/api v0.5.1-0.20210618123026-2eb031b7db63
github.com/networkservicemesh/sdk v0.5.1-0.20210618123609-379badf2bfa7
Expand Down
2 changes: 0 additions & 2 deletions internal/imports/imports_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ package imports

import (
_ "context"
_ "fmt"
_ "github.com/antonfisher/nested-logrus-formatter"
_ "github.com/edwarnicke/debug"
_ "github.com/edwarnicke/grpcfd"
_ "github.com/edwarnicke/vpphelper"
_ "github.com/google/uuid"
_ "github.com/kelseyhightower/envconfig"
_ "github.com/networkservicemesh/api/pkg/api/networkservice"
_ "github.com/networkservicemesh/sdk-vpp/pkg/networkservice/connectioncontext"
Expand Down
3 changes: 0 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ package main

import (
"context"
"fmt"
"net/url"
"os"
"os/signal"
Expand All @@ -31,7 +30,6 @@ import (
"github.com/edwarnicke/debug"
"github.com/edwarnicke/grpcfd"
"github.com/edwarnicke/vpphelper"
"github.com/google/uuid"
"github.com/kelseyhightower/envconfig"
"github.com/sirupsen/logrus"
"github.com/spiffe/go-spiffe/v2/spiffetls/tlsconfig"
Expand Down Expand Up @@ -193,7 +191,6 @@ func main() {
}
request := &networkservice.NetworkServiceRequest{
Connection: &networkservice.Connection{
Id: fmt.Sprintf("%v-%v", config.Name, uuid.New().String()),
NetworkService: u.NetworkService(),
Labels: u.Labels(),
},
Expand Down

0 comments on commit b9088c4

Please sign in to comment.