mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
Make lint happy
Mostly new-style Go build directives Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// withNetNS function requires a fix that first appeared in Go version 1.10
|
||||
//go:build go1.10
|
||||
// +build go1.10
|
||||
|
||||
package docker
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build !linux
|
||||
// +build !linux
|
||||
|
||||
package docker
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
package endpoint
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
package endpoint
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build (linux && amd64) || (linux && ppc64le)
|
||||
// +build linux,amd64 linux,ppc64le
|
||||
|
||||
// Build constraint to use this file for amd64 & ppc64le on Linux
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build darwin || arm || arm64 || s390x
|
||||
// +build darwin arm arm64 s390x
|
||||
|
||||
// Cross-compiling the snooper requires having pcap binaries,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build (linux && amd64) || (linux && ppc64le)
|
||||
// +build linux,amd64 linux,ppc64le
|
||||
|
||||
package endpoint
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
package endpoint
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
package endpoint
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
package endpoint
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
package endpoint
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
package endpoint
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build !linux
|
||||
// +build !linux
|
||||
|
||||
package endpoint
|
||||
|
||||
Reference in New Issue
Block a user