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/rootless | |
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/rootless')
-rw-r--r-- | pkg/rootless/rootless_linux.go | 1 | ||||
-rw-r--r-- | pkg/rootless/rootless_unsupported.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/pkg/rootless/rootless_linux.go b/pkg/rootless/rootless_linux.go index a0b6edcfb..786e28093 100644 --- a/pkg/rootless/rootless_linux.go +++ b/pkg/rootless/rootless_linux.go @@ -1,3 +1,4 @@ +//go:build linux && cgo // +build linux,cgo package rootless diff --git a/pkg/rootless/rootless_unsupported.go b/pkg/rootless/rootless_unsupported.go index 7dfb4a4b2..fe164e235 100644 --- a/pkg/rootless/rootless_unsupported.go +++ b/pkg/rootless/rootless_unsupported.go @@ -1,3 +1,4 @@ +//go:build !linux || !cgo // +build !linux !cgo package rootless |