Skip to content

Commit ff9f4d1

Browse files
authored
Merge pull request #832 from mattcary/directives
Add legacy build directives necessary for some go versions
2 parents 5d19516 + 218f81b commit ff9f4d1

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

pkg/gce-pd-csi-driver/utils_linux.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//go:build !windows
2+
// +build !windows
23

34
/*
45
Copyright 2020 The Kubernetes Authors.

pkg/gce-pd-csi-driver/utils_windows.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//go:build windows
2+
// +build windows
23

34
/*
45
Copyright 2020 The Kubernetes Authors.

pkg/mount-manager/safe-mounter_linux.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//go:build linux
2+
// +build linux
23

34
/*
45
Copyright 2018 The Kubernetes Authors.

pkg/mount-manager/safe-mounter_windows.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//go:build windows
2+
// +build windows
23

34
/*
45
Copyright 2020 The Kubernetes Authors.

pkg/mount-manager/statter_windows.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//go:build windows
2+
// +build windows
23

34
/*
45
Copyright 2019 The Kubernetes Authors.

0 commit comments

Comments
 (0)