Skip to content

Commit

Permalink
consume device plugin server from sdk-k8s
Browse files Browse the repository at this point in the history
Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@est.tech>
  • Loading branch information
pperiyasamy committed Jul 27, 2021
1 parent 86a1909 commit 04dfe9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 309 deletions.
306 changes: 0 additions & 306 deletions internal/deviceplugin/server.go

This file was deleted.

4 changes: 1 addition & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ import (
"github.com/networkservicemesh/sdk/pkg/tools/opentracing"
"github.com/networkservicemesh/sdk/pkg/tools/spiffejwt"
"github.com/networkservicemesh/sdk/pkg/tools/token"

"github.com/networkservicemesh/cmd-forwarder-sriov/internal/deviceplugin"
)

// Config - configuration for cmd-forwarder-sriov
Expand Down Expand Up @@ -168,7 +166,7 @@ func main() {
// ********************************************************************************

// Start device plugin server
if err = deviceplugin.StartServers(
if err = k8sdeviceplugin.StartServers(
ctx,
tokenPool,
config.ResourcePollTimeout,
Expand Down

0 comments on commit 04dfe9e

Please sign in to comment.