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

remove pre-go1.17 build-tags #4329

Merged
merged 1 commit into from
Jul 1, 2024
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
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
Loading