Skip to content

Commit 21976a9

Browse files
authored
Merge pull request #1967 from alexandear/pkg-go-fix-buildtag
pkg: remove outdated or unnecessary build tags
2 parents 5f16b24 + ba12074 commit 21976a9

25 files changed

+0
-41
lines changed

pkg/guestagent/api/client/client_others.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
package client
54

pkg/guestagent/api/client/client_windows.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build windows
2-
// +build windows
3-
41
package client
52

63
import (

pkg/hostagent/port_others.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !darwin && !windows
2-
// +build !darwin,!windows
32

43
package hostagent
54

pkg/hostagent/port_windows.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build windows
2-
// +build windows
3-
41
package hostagent
52

63
import (

pkg/httpclientutil/httpclientutil_others.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
package httpclientutil
54

pkg/httpclientutil/httpclientutil_windows.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build windows
2-
// +build windows
3-
41
package httpclientutil
52

63
import (

pkg/lockutil/lockutil_unix.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !windows
2-
// +build !windows
32

43
// From https://github.com/containerd/nerdctl/blob/v0.13.0/pkg/lockutil/lockutil_unix.go
54
/*

pkg/osutil/dns_others.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !darwin
2-
// +build !darwin
32

43
package osutil
54

pkg/osutil/osutil_others.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !linux && !windows
2-
// +build !linux,!windows
32

43
package osutil
54

pkg/osutil/rosetta_others.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !darwin
2-
// +build !darwin
32

43
package osutil
54

0 commit comments

Comments
 (0)