Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add linux tag to fix go build issue #261

Merged
merged 1 commit into from
Sep 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
4 changes: 4 additions & 0 deletions pkg/networkservice/common/resourcepool/server_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright (c) 2020-2021 Doc.ai and/or its affiliates.
//
// Copyright (c) 2021 Nordix Foundation.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -14,6 +16,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux

package resourcepool_test

import (
Expand Down
4 changes: 3 additions & 1 deletion pkg/networkservice/common/token/client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2020 Doc.ai and/or its affiliates.
// Copyright (c) 2020-2021 Doc.ai and/or its affiliates.
//
// Copyright (c) 2021 Nordix Foundation.
//
Expand All @@ -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
6 changes: 5 additions & 1 deletion pkg/networkservice/common/token/client_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// Copyright (c) 2020 Doc.ai and/or its affiliates.
// Copyright (c) 2020-2021 Doc.ai and/or its affiliates.
//
// Copyright (c) 2021 Nordix Foundation.
//
// SPDX-License-Identifier: Apache-2.0
//
Expand All @@ -14,6 +16,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