Skip to content

Commit

Permalink
Remove superfluous Go build tags
Browse files Browse the repository at this point in the history
They're already part of the file name, no need to repeat them at the top
of the files.

Signed-off-by: Tom Wieczorek <[email protected]>
  • Loading branch information
twz123 committed Oct 4, 2023
1 parent b9e43fc commit c21a877
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 19 deletions.
2 changes: 0 additions & 2 deletions internal/pkg/dir/dir_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build windows

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

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

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

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

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

/*
Copyright 2022 k0s authors
Expand Down
2 changes: 0 additions & 2 deletions pkg/component/worker/kernelsetup_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build linux

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

/*
Copyright 2020 k0s authors
Expand Down
2 changes: 0 additions & 2 deletions pkg/supervisor/supervisor_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build windows

/*
Copyright 2022 k0s authors
Expand Down
2 changes: 0 additions & 2 deletions pkg/telemetry/sysinfo_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build linux

/*
Copyright 2021 k0s authors
Expand Down

0 comments on commit c21a877

Please sign in to comment.