Skip to content

Commit 98b2d35

Browse files
committed
Run make .gofmt
This brings in Go 1.17+ build tags. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 0e5956d commit 98b2d35

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

cmd/runtimetest/mount/mountinfo_linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build linux
12
// +build linux
23

34
package mount

cmd/runtimetest/mount/mountinfo_solaris.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build solaris && cgo
12
// +build solaris,cgo
23

34
package mount

cmd/runtimetest/mount/mountinfo_unsupported.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build (!windows && !linux && !freebsd && !solaris) || (freebsd && !cgo) || (solaris && !cgo)
12
// +build !windows,!linux,!freebsd,!solaris freebsd,!cgo solaris,!cgo
23

34
package mount

generate/seccomp/seccomp_default_linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build linux
12
// +build linux
23

34
package seccomp

generate/seccomp/seccomp_default_unsupported.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !linux
12
// +build !linux
23

34
package seccomp

validate/validate_linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build linux
12
// +build linux
23

34
package validate

validate/validate_unsupported.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !linux
12
// +build !linux
23

34
package validate

0 commit comments

Comments
 (0)