Skip to content

Commit

Permalink
.: use new go:build directives
Browse files Browse the repository at this point in the history
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
  • Loading branch information
MadhavJivrajani committed Mar 5, 2024
1 parent 99be805 commit 83aa27d
Show file tree
Hide file tree
Showing 17 changed files with 1 addition and 17 deletions.
1 change: 0 additions & 1 deletion exec/fixup_go118.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !go1.19
// +build !go1.19

/*
Copyright 2022 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion exec/fixup_go119.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build go1.19
// +build go1.19

/*
Copyright 2022 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion inotify/inotify_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
Expand Down
1 change: 0 additions & 1 deletion inotify/inotify_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
Expand Down
2 changes: 1 addition & 1 deletion inotify/inotify_others.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !linux
//go:build !linux

/*
Copyright 2020 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/mount_helper_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2019 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/mount_helper_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !windows
// +build !windows

/*
Copyright 2019 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/mount_helper_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

/*
Copyright 2019 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/mount_helper_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

/*
Copyright 2017 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/mount_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2014 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/mount_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2014 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/mount_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux && !windows
// +build !linux,!windows

/*
Copyright 2014 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/mount_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

/*
Copyright 2017 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion mount/mount_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build windows
// +build windows

/*
Copyright 2017 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion nsenter/nsenter.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2017 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion nsenter/nsenter_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build linux
// +build linux

/*
Copyright 2018 The Kubernetes Authors.
Expand Down
1 change: 0 additions & 1 deletion nsenter/nsenter_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build !linux
// +build !linux

/*
Copyright 2017 The Kubernetes Authors.
Expand Down

0 comments on commit 83aa27d

Please sign in to comment.