Skip to content

Commit 653d1b7

Browse files
cfergeaupraveenkumar
authored andcommitted
lint: Remove // +build usage
This has been superseded by //go:build quite some time ago, and go vet started erroring out when it finds these, see #4975 Signed-off-by: Christophe Fergeau <[email protected]>
1 parent f5a08ac commit 653d1b7

19 files changed

+0
-19
lines changed

pkg/crc/adminhelper/hosts_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
package adminhelper
54

pkg/crc/daemonclient/transport_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
package daemonclient
54

pkg/crc/machine/generate_bundle_nonlinux.go

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

43
package machine
54

pkg/crc/machine/libvirt/constants.go

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

43
package libvirt
54

pkg/crc/machine/vfkit/constants.go

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

43
package vfkit
54

pkg/crc/manpages/manpages_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
package manpages
54

pkg/crc/manpages/manpages_unix_test.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 manpages
54

pkg/crc/preflight/preflight_checks_network_linux.go

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

43
package preflight
54

pkg/crc/preflight/preflight_checks_nonlinux.go

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

43
package preflight
54

pkg/crc/preflight/preflight_checks_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
package preflight
54

0 commit comments

Comments
 (0)