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 newly12 committed Oct 13, 2021
1 parent 056c4d7 commit 5b26c25
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 5b26c25

Please sign in to comment.