Skip to content
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
6 changes: 0 additions & 6 deletions dev-tools/mage/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
// environment.
func GolangCrossBuild(params BuildArgs) error {
if os.Getenv("GOLANG_CROSSBUILD") != "1" {
return errors.New("Use the crossBuild target. golangCrossBuild can " +

Check failure on line 171 in dev-tools/mage/build.go

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

ST1005: error strings should not end with punctuation or newlines (staticcheck)
"only be executed within the golang-crossbuild docker environment.")
}

Expand Down Expand Up @@ -198,12 +198,6 @@
return Build(params)
}

func BuildOTel() error {
args := DefaultBuildArgs()
args.ExtraFlags = append(args.ExtraFlags, "-tags", "otelbeat")
return Build(args)
}

// Build invokes "go build" to produce a binary.
func Build(params BuildArgs) error {
fmt.Println(">> build: Building", params.Name)
Expand Down Expand Up @@ -298,7 +292,7 @@
},
StringFileInfo: goversioninfo.StringFileInfo{
CompanyName: BeatVendor,
ProductName: strings.Title(BeatName),

Check failure on line 295 in dev-tools/mage/build.go

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead. (staticcheck)
ProductVersion: version,
FileVersion: version,
FileDescription: BeatDescription,
Expand Down
7 changes: 0 additions & 7 deletions dev-tools/mage/gotest.go
Original file line number Diff line number Diff line change
Expand Up @@ -503,13 +503,6 @@ func BuildSystemTestBinary() error {
return BuildSystemTestGoBinary(DefaultTestBinaryArgs())
}

// BuildSystemTestOTelBinary builds beat binary that includes otel.
func BuildSystemTestOTelBinary() error {
args := DefaultTestBinaryArgs()
args.ExtraFlags = []string{"-tags", "otelbeat"}
return BuildSystemTestGoBinary(args)
}

// BuildSystemTestGoBinary build a binary for testing that is instrumented for
// testing and measuring code coverage. The binary is only instrumented for
// coverage when TEST_COVERAGE=true (default is false).
Expand Down
37 changes: 0 additions & 37 deletions libbeat/otelbeat/helper.go

This file was deleted.

53 changes: 0 additions & 53 deletions libbeat/otelbeat/providers/fbprovider/fbprovider.go

This file was deleted.

142 changes: 0 additions & 142 deletions libbeat/otelbeat/providers/fbprovider/fbprovider_test.go

This file was deleted.

55 changes: 0 additions & 55 deletions libbeat/otelbeat/providers/mbprovider/mbprovider.go

This file was deleted.

Loading
Loading