Skip to content

Commit

Permalink
Fix build tags for Go 1.17 (elastic#28338)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksmaus authored and wiwen committed Nov 1, 2021
1 parent b7ced82 commit 9742125
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions dev-tools/cmd/asset/asset.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// specific language governing permissions and limitations
// under the License.

//go:build ignore
// +build ignore

package main
Expand Down
1 change: 1 addition & 0 deletions dev-tools/mage/keychain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// specific language governing permissions and limitations
// under the License.

//go:build darwin
// +build darwin

package mage
Expand Down
1 change: 1 addition & 0 deletions dev-tools/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// specific language governing permissions and limitations
// under the License.

//go:build mage
// +build mage

package main
Expand Down
1 change: 1 addition & 0 deletions dev-tools/packaging/preference-pane/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// specific language governing permissions and limitations
// under the License.

//go:build mage
// +build mage

package main
Expand Down
1 change: 1 addition & 0 deletions magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
// specific language governing permissions and limitations
// under the License.

//go:build mage
// +build mage

package main
Expand Down
3 changes: 2 additions & 1 deletion x-pack/osquerybeat/internal/install/install_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// or more contributor license agreements. Licensed under the Elastic License;
// you may not use this file except in compliance with the Elastic License.

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

package install

Expand Down
3 changes: 2 additions & 1 deletion x-pack/osquerybeat/internal/install/install_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// or more contributor license agreements. Licensed under the Elastic License;
// you may not use this file except in compliance with the Elastic License.

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

package install

Expand Down
1 change: 1 addition & 0 deletions x-pack/osquerybeat/internal/osqd/osqueryd_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// or more contributor license agreements. Licensed under the Elastic License;
// you may not use this file except in compliance with the Elastic License.

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

package osqd
Expand Down
1 change: 1 addition & 0 deletions x-pack/osquerybeat/internal/osqd/osqueryd_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// or more contributor license agreements. Licensed under the Elastic License;
// you may not use this file except in compliance with the Elastic License.

//go:build windows
// +build windows

package osqd
Expand Down
1 change: 1 addition & 0 deletions x-pack/osquerybeat/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// or more contributor license agreements. Licensed under the Elastic License;
// you may not use this file except in compliance with the Elastic License.

//go:build mage
// +build mage

package main
Expand Down

0 comments on commit 9742125

Please sign in to comment.