Skip to content

Commit

Permalink
Cleanup: Remove // +build lines (elastic#35218)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator authored May 16, 2023
1 parent 5914f10 commit f0215ff
Show file tree
Hide file tree
Showing 756 changed files with 1 addition and 763 deletions.
1 change: 0 additions & 1 deletion auditbeat/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build mage
// +build mage

package main

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/auditd/audit_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !linux
// +build !linux

package auditd

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/auditd/golden_files_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build linux
// +build linux

package auditd

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/file_integrity/eventreader_fsevents.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build darwin
// +build darwin

package file_integrity

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/file_integrity/eventreader_fsnotify.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build linux || freebsd || openbsd || netbsd || windows
// +build linux freebsd openbsd netbsd windows

package file_integrity

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/file_integrity/eventreader_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !linux && !freebsd && !openbsd && !netbsd && !windows && !darwin
// +build !linux,!freebsd,!openbsd,!netbsd,!windows,!darwin

package file_integrity

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/file_integrity/fileinfo_bsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build freebsd || openbsd || netbsd || darwin
// +build freebsd openbsd netbsd darwin

package file_integrity

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/file_integrity/fileinfo_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build linux
// +build linux

package file_integrity

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/file_integrity/fileinfo_other_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !windows
// +build !windows

package file_integrity

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/file_integrity/fileinfo_posix.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build linux || freebsd || openbsd || netbsd || darwin
// +build linux freebsd openbsd netbsd darwin

package file_integrity

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/file_integrity/fileinfo_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build windows
// +build windows

package file_integrity

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/file_integrity/fileorigin_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !darwin
// +build !darwin

package file_integrity

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/file_integrity/fileorigin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build darwin
// +build darwin

package file_integrity

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/file_integrity/monitor/filetree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !integration
// +build !integration

package monitor

Expand Down
1 change: 0 additions & 1 deletion auditbeat/module/file_integrity/monitor/monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !integration
// +build !integration

package monitor

Expand Down
1 change: 0 additions & 1 deletion dev-tools/mage/keychain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build darwin
// +build darwin

package mage

Expand Down
1 change: 0 additions & 1 deletion filebeat/autodiscover/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !aix
// +build !aix

package autodiscover

Expand Down
1 change: 0 additions & 1 deletion filebeat/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !integration
// +build !integration

package config

Expand Down
1 change: 0 additions & 1 deletion filebeat/fileset/compatibility_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !integration
// +build !integration

package fileset

Expand Down
1 change: 0 additions & 1 deletion filebeat/fileset/fileset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !integration
// +build !integration

package fileset

Expand Down
1 change: 0 additions & 1 deletion filebeat/fileset/modules_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build integration
// +build integration

package fileset

Expand Down
1 change: 0 additions & 1 deletion filebeat/fileset/modules_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !integration
// +build !integration

package fileset

Expand Down
1 change: 0 additions & 1 deletion filebeat/fileset/pipelines_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !integration
// +build !integration

package fileset

Expand Down
1 change: 0 additions & 1 deletion filebeat/harvester/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !integration
// +build !integration

package harvester

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/container/input_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !integration
// +build !integration

package container

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/default-inputs/inputs_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !windows && !linux
// +build !windows,!linux

package inputs

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/file/glob_other_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !windows
// +build !windows

package file

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/file/glob_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build windows
// +build windows

package file

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/file/identifier_inode_deviceid.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !windows
// +build !windows

package file

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/file/identifier_inode_deviceid_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build windows
// +build windows

package file

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/file/identifier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !windows
// +build !windows

package file

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/file/identifier_test_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build windows
// +build windows

package file

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/file/states_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !integration
// +build !integration

package file

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build integration
// +build integration

package filestream

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/filestream/filestream_test_non_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !windows
// +build !windows

package filestream

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/filestream/fswatch_test_non_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !windows
// +build !windows

package filestream

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/filestream/identifier_inode_deviceid.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !windows
// +build !windows

package filestream

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build windows
// +build windows

package filestream

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/filestream/identifier_test_non_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !windows
// +build !windows

package filestream

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/filestream/parsers_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build integration
// +build integration

package filestream

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/input_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@
// under the License.

//go:build !integration
// +build !integration

package input
1 change: 0 additions & 1 deletion filebeat/input/journald/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build linux && cgo && withjournald
// +build linux,cgo,withjournald

package journald

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/journald/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build linux && cgo && withjournald
// +build linux,cgo,withjournald

package journald

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/journald/environment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build linux && cgo && withjournald
// +build linux,cgo,withjournald

package journald

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/journald/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build linux && cgo && withjournald
// +build linux,cgo,withjournald

package journald

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/journald/input_filtering_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build linux && cgo && withjournald
// +build linux,cgo,withjournald

package journald

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/journald/input_parsers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build linux && cgo && withjournald
// +build linux,cgo,withjournald

package journald

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/journald/input_stub.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build !linux || !cgo || !withjournald
// +build !linux !cgo !withjournald

package journald

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/journald/input_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build linux && cgo && withjournald
// +build linux,cgo,withjournald

package journald

Expand Down
1 change: 0 additions & 1 deletion filebeat/input/journald/pkg/journalfield/conv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

//go:build linux && cgo
// +build linux,cgo

package journalfield

Expand Down
Loading

0 comments on commit f0215ff

Please sign in to comment.