diff --git a/internal/pkg/dir/dir_windows_test.go b/internal/pkg/dir/dir_windows_test.go index 30c7e0c8a96a..ff78c8b8e4cf 100644 --- a/internal/pkg/dir/dir_windows_test.go +++ b/internal/pkg/dir/dir_windows_test.go @@ -1,5 +1,3 @@ -//go:build windows - /* Copyright 2023 k0s authors diff --git a/internal/pkg/sysinfo/host_linux.go b/internal/pkg/sysinfo/host_linux.go index a7e64b05978a..c2c11e5f9573 100644 --- a/internal/pkg/sysinfo/host_linux.go +++ b/internal/pkg/sysinfo/host_linux.go @@ -1,5 +1,3 @@ -//go:build linux - /* Copyright 2022 k0s authors diff --git a/internal/pkg/sysinfo/probes/disk_linux.go b/internal/pkg/sysinfo/probes/disk_linux.go index fff9771a947a..3eea323787f9 100644 --- a/internal/pkg/sysinfo/probes/disk_linux.go +++ b/internal/pkg/sysinfo/probes/disk_linux.go @@ -1,5 +1,3 @@ -//go:build linux - /* Copyright 2022 k0s authors diff --git a/internal/pkg/sysinfo/probes/linux/types_arm.go b/internal/pkg/sysinfo/probes/linux/types_arm.go index b022acd45974..6dc049602073 100644 --- a/internal/pkg/sysinfo/probes/linux/types_arm.go +++ b/internal/pkg/sysinfo/probes/linux/types_arm.go @@ -1,4 +1,4 @@ -//go:build linux && arm +//go:build linux /* Copyright 2022 k0s authors diff --git a/internal/pkg/sysinfo/probes/memory_linux.go b/internal/pkg/sysinfo/probes/memory_linux.go index ff1319168e7b..c99a91084500 100644 --- a/internal/pkg/sysinfo/probes/memory_linux.go +++ b/internal/pkg/sysinfo/probes/memory_linux.go @@ -1,5 +1,3 @@ -//go:build linux - /* Copyright 2022 k0s authors diff --git a/internal/pkg/sysinfo/probes/memory_linux_test.go b/internal/pkg/sysinfo/probes/memory_linux_test.go index 6d42441b7f4f..936fac8571fe 100644 --- a/internal/pkg/sysinfo/probes/memory_linux_test.go +++ b/internal/pkg/sysinfo/probes/memory_linux_test.go @@ -1,5 +1,3 @@ -//go:build linux - /* Copyright 2022 k0s authors diff --git a/pkg/component/worker/kernelsetup_linux.go b/pkg/component/worker/kernelsetup_linux.go index d9c3da5d87f7..de81d06850f6 100644 --- a/pkg/component/worker/kernelsetup_linux.go +++ b/pkg/component/worker/kernelsetup_linux.go @@ -1,5 +1,3 @@ -//go:build linux - /* Copyright 2020 k0s authors diff --git a/pkg/constant/constant_windows.go b/pkg/constant/constant_windows.go index d67befdc63c8..6e797c1fbe9e 100644 --- a/pkg/constant/constant_windows.go +++ b/pkg/constant/constant_windows.go @@ -1,5 +1,3 @@ -//go:build windows - /* Copyright 2020 k0s authors diff --git a/pkg/supervisor/supervisor_windows.go b/pkg/supervisor/supervisor_windows.go index b8b5a765c1fb..b4931c5401f3 100644 --- a/pkg/supervisor/supervisor_windows.go +++ b/pkg/supervisor/supervisor_windows.go @@ -1,5 +1,3 @@ -//go:build windows - /* Copyright 2022 k0s authors diff --git a/pkg/telemetry/sysinfo_linux.go b/pkg/telemetry/sysinfo_linux.go index 6a607829ddd8..e37ead9ec133 100644 --- a/pkg/telemetry/sysinfo_linux.go +++ b/pkg/telemetry/sysinfo_linux.go @@ -1,5 +1,3 @@ -//go:build linux - /* Copyright 2021 k0s authors