Skip to content

Commit

Permalink
Merge pull request #4329 from thaJeztah/rm_old_buildtags
Browse files Browse the repository at this point in the history
remove pre-go1.17 build-tags
  • Loading branch information
kolyshkin authored Jul 1, 2024
2 parents ab010ae + c142133 commit 7bcb611
Show file tree
Hide file tree
Showing 27 changed files with 0 additions and 27 deletions.
1 change: 0 additions & 1 deletion contrib/cmd/seccompagent/seccompagent.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux && seccomp
// +build linux,seccomp

package main

Expand Down
1 change: 0 additions & 1 deletion contrib/cmd/seccompagent/unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux || !seccomp
// +build !linux !seccomp

package main

Expand Down
1 change: 0 additions & 1 deletion libcontainer/apparmor/apparmor_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package apparmor

Expand Down
1 change: 0 additions & 1 deletion libcontainer/capabilities/capabilities.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package capabilities

Expand Down
1 change: 0 additions & 1 deletion libcontainer/capabilities/capabilities_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//go:build !linux
// +build !linux

package capabilities
1 change: 0 additions & 1 deletion libcontainer/configs/cgroup_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package configs

Expand Down
1 change: 0 additions & 1 deletion libcontainer/configs/configs_fuzzer.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz

package configs

Expand Down
1 change: 0 additions & 1 deletion libcontainer/configs/mount_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package configs

Expand Down
1 change: 0 additions & 1 deletion libcontainer/configs/namespaces_syscall.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package configs

Expand Down
1 change: 0 additions & 1 deletion libcontainer/configs/namespaces_syscall_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux && !windows
// +build !linux,!windows

package configs

Expand Down
1 change: 0 additions & 1 deletion libcontainer/configs/namespaces_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package configs

Expand Down
1 change: 0 additions & 1 deletion libcontainer/devices/device_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package devices

Expand Down
1 change: 0 additions & 1 deletion libcontainer/devices/device_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package devices

Expand Down
1 change: 0 additions & 1 deletion libcontainer/dmz/dmz_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !runc_nodmz
// +build !runc_nodmz

package dmz

Expand Down
1 change: 0 additions & 1 deletion libcontainer/dmz/dmz_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux || runc_nodmz
// +build !linux runc_nodmz

package dmz

Expand Down
1 change: 0 additions & 1 deletion libcontainer/integration/seccomp_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux && cgo && seccomp
// +build linux,cgo,seccomp

package integration

Expand Down
1 change: 0 additions & 1 deletion libcontainer/nsenter/nsenter.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux && !gccgo
// +build linux,!gccgo

package nsenter

Expand Down
1 change: 0 additions & 1 deletion libcontainer/nsenter/nsenter_gccgo.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux && gccgo
// +build linux,gccgo

package nsenter

Expand Down
1 change: 0 additions & 1 deletion libcontainer/seccomp/patchbpf/enosys_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build cgo && seccomp
// +build cgo,seccomp

package patchbpf

Expand Down
1 change: 0 additions & 1 deletion libcontainer/seccomp/patchbpf/enosys_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build cgo && seccomp
// +build cgo,seccomp

package patchbpf

Expand Down
1 change: 0 additions & 1 deletion libcontainer/seccomp/patchbpf/enosys_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//go:build !linux || !cgo || !seccomp
// +build !linux !cgo !seccomp

package patchbpf
1 change: 0 additions & 1 deletion libcontainer/seccomp/seccomp_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build cgo && seccomp
// +build cgo,seccomp

package seccomp

Expand Down
1 change: 0 additions & 1 deletion libcontainer/seccomp/seccomp_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux || !cgo || !seccomp
// +build !linux !cgo !seccomp

package seccomp

Expand Down
1 change: 0 additions & 1 deletion libcontainer/system/linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

package system

Expand Down
1 change: 0 additions & 1 deletion libcontainer/userns/userns_fuzzer.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build gofuzz
// +build gofuzz

package userns

Expand Down
1 change: 0 additions & 1 deletion libcontainer/userns/userns_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

package userns

Expand Down
1 change: 0 additions & 1 deletion libcontainer/utils/utils_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

package utils

Expand Down

0 comments on commit 7bcb611

Please sign in to comment.