Skip to content

Commit

Permalink
Fix buildtags
Browse files Browse the repository at this point in the history
```
~> go fix ./...
filelock/filelock.go: fixed buildtag
multistep/commonsteps/iso_config_test.go: fixed buildtag
packer/cache_config_unix.go: fixed buildtag
packer/cache_config_unix_test.go: fixed buildtag
packer/cache_config_windows.go: fixed buildtag
packer/cache_config_windows_test.go: fixed buildtag
pathing/config_file_unix.go: fixed buildtag
pathing/config_file_unix_test.go: fixed buildtag
pathing/config_file_windows.go: fixed buildtag
pathing/config_file_windows_test.go: fixed buildtag
sdk-internals/communicator/ssh/communicator_test.go: fixed buildtag
template/parse_test.go: fixed buildtag

```
  • Loading branch information
nywilken committed Jul 5, 2023
1 parent 8c4e43c commit 5e4aae7
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion filelock/filelock.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: MPL-2.0

//go:build !solaris
// +build !solaris

package filelock

Expand Down
1 change: 0 additions & 1 deletion multistep/commonsteps/iso_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: MPL-2.0

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

package commonsteps

Expand Down
1 change: 0 additions & 1 deletion packer/cache_config_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: MPL-2.0

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

package packer

Expand Down
1 change: 0 additions & 1 deletion packer/cache_config_unix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: MPL-2.0

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

package packer

Expand Down
1 change: 0 additions & 1 deletion packer/cache_config_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: MPL-2.0

//go:build windows
// +build windows

package packer

Expand Down
1 change: 0 additions & 1 deletion packer/cache_config_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: MPL-2.0

//go:build windows
// +build windows

package packer

Expand Down
1 change: 0 additions & 1 deletion pathing/config_file_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: MPL-2.0

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

package pathing

Expand Down
1 change: 0 additions & 1 deletion pathing/config_file_unix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: MPL-2.0

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

package pathing

Expand Down
1 change: 0 additions & 1 deletion pathing/config_file_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: MPL-2.0

//go:build windows
// +build windows

package pathing

Expand Down
1 change: 0 additions & 1 deletion pathing/config_file_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: MPL-2.0

//go:build windows
// +build windows

package pathing

Expand Down
1 change: 0 additions & 1 deletion sdk-internals/communicator/ssh/communicator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: MPL-2.0

//go:build !race
// +build !race

package ssh

Expand Down
1 change: 0 additions & 1 deletion template/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// SPDX-License-Identifier: MPL-2.0

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

package template

Expand Down

0 comments on commit 5e4aae7

Please sign in to comment.