diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-03-18 09:11:53 +0100 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-03-18 09:11:53 +0100 |
commit | ea08765f400d828907f231baa84bd880a00d95f1 (patch) | |
tree | 3ddf8be1f7b9d66416451632a3664a13a925a548 /pkg/util | |
parent | e59f71d230cf5435dc569add90e22cc644e38647 (diff) | |
download | podman-ea08765f400d828907f231baa84bd880a00d95f1.tar.gz podman-ea08765f400d828907f231baa84bd880a00d95f1.tar.bz2 podman-ea08765f400d828907f231baa84bd880a00d95f1.zip |
go fmt: use go 1.18 conditional-build syntax
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'pkg/util')
-rw-r--r-- | pkg/util/mountOpts_other.go | 1 | ||||
-rw-r--r-- | pkg/util/utils_darwin.go | 3 | ||||
-rw-r--r-- | pkg/util/utils_supported.go | 1 | ||||
-rw-r--r-- | pkg/util/utils_unsupported.go | 1 | ||||
-rw-r--r-- | pkg/util/utils_windows.go | 1 |
5 files changed, 6 insertions, 1 deletions
diff --git a/pkg/util/mountOpts_other.go b/pkg/util/mountOpts_other.go index 6a34942e5..64b4dd1d9 100644 --- a/pkg/util/mountOpts_other.go +++ b/pkg/util/mountOpts_other.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux package util diff --git a/pkg/util/utils_darwin.go b/pkg/util/utils_darwin.go index 33a46a5d4..66ae85e9c 100644 --- a/pkg/util/utils_darwin.go +++ b/pkg/util/utils_darwin.go @@ -1,4 +1,5 @@ -//+build darwin +//go:build darwin +// +build darwin package util diff --git a/pkg/util/utils_supported.go b/pkg/util/utils_supported.go index 848b35a45..50e4b1b7b 100644 --- a/pkg/util/utils_supported.go +++ b/pkg/util/utils_supported.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package util diff --git a/pkg/util/utils_unsupported.go b/pkg/util/utils_unsupported.go index 62805d7c8..896346493 100644 --- a/pkg/util/utils_unsupported.go +++ b/pkg/util/utils_unsupported.go @@ -1,3 +1,4 @@ +//go:build darwin || windows // +build darwin windows package util diff --git a/pkg/util/utils_windows.go b/pkg/util/utils_windows.go index 46ca5e7f1..2732124f2 100644 --- a/pkg/util/utils_windows.go +++ b/pkg/util/utils_windows.go @@ -1,3 +1,4 @@ +//go:build windows // +build windows package util |