Skip to content

Commit

Permalink
Remove legacy Go build tags
Browse files Browse the repository at this point in the history
They're no longer required.

Signed-off-by: Tom Wieczorek <[email protected]>
  • Loading branch information
twz123 committed Oct 2, 2023
1 parent e3427c9 commit b9e43fc
Show file tree
Hide file tree
Showing 46 changed files with 0 additions and 46 deletions.
1 change: 0 additions & 1 deletion cmd/backup/backup.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2021 k0s authors
Expand Down
1 change: 0 additions & 1 deletion cmd/restore/restore.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2021 k0s authors
Expand Down
1 change: 0 additions & 1 deletion hack/gen-bindata/cmd/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build hack
// +build hack

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion hack/gen-bindata/gen_bindata.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build hack
// +build hack

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion hack/gen-bindata/gen_bindata_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build hack
// +build hack

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion hack/validate-images/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build hack
// +build hack

/*
Copyright 2021 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/dir/dir_posix_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2023 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/dir/dir_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

/*
Copyright 2023 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/host_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/host_other.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/disk_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/disk_other.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/apparmor.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2023 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/cgroup_controllers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/cgroup_v1.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/cgroup_v2.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/cgroups.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/cgroups_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/kernel.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/kernel_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/procfs.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/types.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux && !arm
// +build linux,!arm

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/types_arm.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux && arm
// +build linux,arm

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/linux/ulimit.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/memory_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/memory_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion internal/pkg/sysinfo/probes/memory_other.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/backup/config.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2021 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/backup/etcd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2021 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/backup/filesystem.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2021 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/backup/filesystem_posix_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2023 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/backup/manager.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2021 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/backup/sqlitedb.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2021 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/backup/util.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2021 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/component/worker/kernelsetup.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

/*
Copyright 2020 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/component/worker/kernelsetup_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2020 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/config/runtime_posix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2023 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/constant/constant_posix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2020 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/constant/constant_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

/*
Copyright 2020 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/supervisor/detachattr.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2020 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/supervisor/pingpong_posix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2023 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/supervisor/supervisor_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

/*
Copyright 2022 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/telemetry/sysinfo.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

/*
Copyright 2021 k0s authors
Expand Down
1 change: 0 additions & 1 deletion pkg/telemetry/sysinfo_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2021 k0s authors
Expand Down

0 comments on commit b9e43fc

Please sign in to comment.