Skip to content

Commit f522e74

Browse files
committed
Add new build constraint format
From https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md, the updates were generated with ./hack/update-gofmt.sh
1 parent f028035 commit f522e74

9 files changed

+10
-9
lines changed

Diff for: pkg/gce-pd-csi-driver/utils_linux.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build !windows
1+
//go:build !windows
22

33
/*
44
Copyright 2020 The Kubernetes Authors.

Diff for: pkg/gce-pd-csi-driver/utils_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build windows
1+
//go:build windows
22

33
/*
44
Copyright 2020 The Kubernetes Authors.

Diff for: pkg/mount-manager/safe-mounter-v1_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build windows
1+
//go:build windows
22

33
/*
44
Copyright 2021 The Kubernetes Authors.

Diff for: pkg/mount-manager/safe-mounter-v1beta_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build windows
1+
//go:build windows
22

33
/*
44
Copyright 2021 The Kubernetes Authors.

Diff for: pkg/mount-manager/safe-mounter_linux.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build linux
1+
//go:build linux
22

33
/*
44
Copyright 2018 The Kubernetes Authors.

Diff for: pkg/mount-manager/safe-mounter_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build windows
1+
//go:build windows
22

33
/*
44
Copyright 2020 The Kubernetes Authors.

Diff for: pkg/mount-manager/statter_windows.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// +build windows
1+
//go:build windows
2+
23
/*
34
Copyright 2019 The Kubernetes Authors.
45

Diff for: pkg/resizefs/resizefs_linux.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build linux
1+
//go:build linux
22

33
/*
44
Copyright 2017 The Kubernetes Authors.

Diff for: pkg/resizefs/resizefs_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build windows
1+
//go:build windows
22

33
/*
44
Copyright 2020 The Kubernetes Authors.

0 commit comments

Comments
 (0)