Skip to content

Commit

Permalink
add linux tag to fix go build issue
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 Sep 9, 2021
1 parent 865ce6b commit 8340a4e
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/google/uuid v1.2.0
github.com/networkservicemesh/api v1.0.1-0.20210907194827-9a36433d7d6e
github.com/networkservicemesh/sdk v0.5.1-0.20210908084855-0baab927e78f
github.com/networkservicemesh/sdk-kernel v0.0.0-20210908085229-781895269ec7
github.com/networkservicemesh/sdk-kernel v0.0.0-20210909103050-aec84d8e27cc
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.7.0
go.uber.org/goleak v1.1.10
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ github.com/networkservicemesh/api v1.0.1-0.20210907194827-9a36433d7d6e h1:PO6tDo
github.com/networkservicemesh/api v1.0.1-0.20210907194827-9a36433d7d6e/go.mod h1:B6meq/SWjWR6bGXZdXPfbOeaBK+T1JayLdtEJQCsXKU=
github.com/networkservicemesh/sdk v0.5.1-0.20210908084855-0baab927e78f h1:/4p7GqAhjyYgkye/2QxRz8+QV2uDaGg9CFwgoC40br4=
github.com/networkservicemesh/sdk v0.5.1-0.20210908084855-0baab927e78f/go.mod h1:eISPu+ySJJ46kg03ZTi/xmpNSU+K4cImwq++ZbDV4F4=
github.com/networkservicemesh/sdk-kernel v0.0.0-20210908085229-781895269ec7 h1:A0grwgCkvKH8sHLJefRUiY+XqNvMgLrswjUrLLB2sZo=
github.com/networkservicemesh/sdk-kernel v0.0.0-20210908085229-781895269ec7/go.mod h1:+528qvrbHWvlne8j2Y18wyjVDgR77/QrclBcyMFBmDE=
github.com/networkservicemesh/sdk-kernel v0.0.0-20210909103050-aec84d8e27cc h1:l36etBtug4PTGRfIMOPnctj8CdBb1GnTpXGn2Pz9MWM=
github.com/networkservicemesh/sdk-kernel v0.0.0-20210909103050-aec84d8e27cc/go.mod h1:+528qvrbHWvlne8j2Y18wyjVDgR77/QrclBcyMFBmDE=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
Expand Down
2 changes: 2 additions & 0 deletions pkg/networkservice/common/resourcepool/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux

package resourcepool

import (
Expand Down
2 changes: 2 additions & 0 deletions pkg/networkservice/common/resourcepool/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux

package resourcepool

import (
Expand Down
2 changes: 2 additions & 0 deletions pkg/networkservice/common/resourcepool/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux

// Package resourcepool provides chain elements for to select and free VF
package resourcepool

Expand Down
2 changes: 2 additions & 0 deletions pkg/networkservice/common/resourcepool/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build windows

package resourcepool_test

import (
Expand Down
2 changes: 2 additions & 0 deletions pkg/networkservice/common/token/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux

// Package token provides chain elements for inserting SRIOV tokens into request and response
package token

Expand Down
2 changes: 2 additions & 0 deletions pkg/networkservice/common/token/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux

package token_test

import (
Expand Down
2 changes: 2 additions & 0 deletions pkg/networkservice/common/token/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux

package token

import (
Expand Down
2 changes: 2 additions & 0 deletions pkg/networkservice/common/token/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux

package token

import (
Expand Down

0 comments on commit 8340a4e

Please sign in to comment.