Skip to content

Commit 218f81b

Browse files
committed
Add legacy build directives necessary for some go versions
Change-Id: If8bea2a20c45154408f79d4e929c6aa75093bc83
1 parent 5d19516 commit 218f81b

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)